Record Class Boc.BocCacheType.Pinned

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Boc.BocCacheType.Pinned
All Implemented Interfaces:
Boc.BocCacheType
Enclosing interface:
Boc.BocCacheType

public static record Boc.BocCacheType.Pinned(String pin) extends Record implements Boc.BocCacheType
Such BOC will not be removed from cache until it is unpinned BOCs can have several pins and each of the pins has reference counter indicating how many times the BOC was pinned with the pin. BOC is removed from cache after all references for all pins are unpinned with `cache_unpin` function calls. Pin the BOC with `pin` name.