public interface StorageEntityCache<E extends StorageEntity> extends StorageChannelResetablePart
| Modifier and Type | Interface and Description |
|---|---|
static class |
StorageEntityCache.Default |
| Modifier and Type | Method and Description |
|---|---|
long |
cacheSize() |
long |
clearCache() |
void |
copyRoots(ChunksBuffer dataCollector) |
boolean |
incrementalEntityCacheCheck(long nanoTimeBudgetBound) |
boolean |
incrementalGarbageCollection(long nanoTimeBudgetBound,
StorageChannel channel) |
boolean |
issuedEntityCacheCheck(long nanoTimeBudgetBound,
StorageEntityCacheEvaluator entityEvaluator) |
boolean |
issuedGarbageCollection(long nanoTimeBudgetBound,
StorageChannel channel) |
StorageEntityType<E> |
lookupType(long typeId) |
void |
reset()
Closes all resources (files, locks, etc.).
|
StorageTypeDictionary |
typeDictionary() |
channelIndexStorageTypeDictionary typeDictionary()
StorageEntityType<E> lookupType(long typeId)
boolean incrementalEntityCacheCheck(long nanoTimeBudgetBound)
boolean incrementalGarbageCollection(long nanoTimeBudgetBound,
StorageChannel channel)
boolean issuedGarbageCollection(long nanoTimeBudgetBound,
StorageChannel channel)
boolean issuedEntityCacheCheck(long nanoTimeBudgetBound,
StorageEntityCacheEvaluator entityEvaluator)
void copyRoots(ChunksBuffer dataCollector)
long cacheSize()
long clearCache()
void reset()
StorageChannelResetablePartreset in interface StorageChannelResetablePartCopyright © 2022 MicroStream Software. All rights reserved.