Package one.microstream.storage.types
Interface StorageEntityCache<I extends StorageEntityCacheItem<I>>
-
- All Superinterfaces:
StorageHashChannelPart
- All Known Implementing Classes:
StorageEntityCache.Default
public interface StorageEntityCache<I extends StorageEntityCacheItem<I>> extends StorageHashChannelPart
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStorageEntityCache.Default
-
Method Summary
Modifier and Type Method Description longcacheSize()longclearCache()voidcopyRoots(ChunksBuffer dataCollector)booleanincrementalGarbageCollection(long timeBudgetBound, StorageChannel channel)booleanincrementalLiveCheck(long timeBudgetBound)booleanissuedCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)booleanissuedGarbageCollection(long nanoTimeBudget, StorageChannel channel)StorageEntityType<I>lookupType(long typeId)StorageTypeDictionarytypeDictionary()-
Methods inherited from interface one.microstream.storage.types.StorageHashChannelPart
channelIndex
-
-
-
-
Method Detail
-
typeDictionary
StorageTypeDictionary typeDictionary()
-
lookupType
StorageEntityType<I> lookupType(long typeId)
-
incrementalLiveCheck
boolean incrementalLiveCheck(long timeBudgetBound)
-
incrementalGarbageCollection
boolean incrementalGarbageCollection(long timeBudgetBound, StorageChannel channel)
-
issuedGarbageCollection
boolean issuedGarbageCollection(long nanoTimeBudget, StorageChannel channel)
-
issuedCacheCheck
boolean issuedCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)
-
copyRoots
void copyRoots(ChunksBuffer dataCollector)
-
cacheSize
long cacheSize()
-
clearCache
long clearCache()
-
-