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 class
StorageEntityCache.Default
-
Method Summary
Modifier and Type Method Description long
cacheSize()
long
clearCache()
void
copyRoots(ChunksBuffer dataCollector)
boolean
incrementalGarbageCollection(long timeBudgetBound, StorageChannel channel)
boolean
incrementalLiveCheck(long timeBudgetBound)
boolean
issuedCacheCheck(long nanoTimeBudget, StorageEntityCacheEvaluator entityEvaluator)
boolean
issuedGarbageCollection(long nanoTimeBudget, StorageChannel channel)
StorageEntityType<I>
lookupType(long typeId)
StorageTypeDictionary
typeDictionary()
-
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()
-
-