# Functions
CacheTime sets the time after which the object is evicted from the cache.
KeysOnly is used to store only the keys of the elements.
LeakDetectionEnabled enables the leak detection of the object storage.
LogAccess sets up a logger that logs all calls to the underlying store in the given file.
NewEmptyCachedObject creates an "empty" CachedObject, that is not part of any ObjectStorage.
NewInterfaceStorage is the constructor for the ObjectStorage that stores interface types.
NewStoreWithRealm creates a new kvstore.KVStore with the given the store and prefixes.
NewStructStorage is the constructor for the ObjectStorage that stores struct types.
OnEvictionCallback sets a function that is called on eviction of the object.
OverrideLeakDetectionWrapper is used to override the default leak detection wrapper.
PartitionKey sets the partition sizes of the key.
PersistenceEnabled enables the persistence of the object storage.
ReleaseExecutorWorkerCount sets the number of workers that execute the scheduled eviction of the objects in parallel (whenever they become due).
StoreOnCreation writes an object directly to the persistence layer on creation.
WithIteratorMaxIterations is used to stop the iteration after a certain amount of iterations.
WithIteratorPrefix is used to iterate a subset of elements with a defined prefix.
WithIteratorSkipCache is used to skip the elements in the cache.
WithIteratorSkipStorage is used to skip the elements in the storage.
WithReadSkipCache is used to skip the elements in the cache.
WithReadSkipStorage is used to skip the elements in the storage.
# Structs
CachedObject is a wrapper around a value that is stored in the object storage.
ObjectStorage is a manual cache which keeps objects as long as consumers are using it.
# Interfaces
PtrStorableObject is a wrapper type that holds a pointer to a StorableObject.
StorableObject is an interface to be implemented by an object that is stored in the ObjectStorage.
# Type aliases
CachedObjects represents a collection of CachedObject objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StorableObjectFactory is a function that creates new StorageObject from a key and data.
No description provided by the author