Class PlainCacheManager
- java.lang.Object
-
- org.apache.iotdb.db.metadata.mtree.store.disk.cache.CacheManager
-
- org.apache.iotdb.db.metadata.mtree.store.disk.cache.PlainCacheManager
-
- All Implemented Interfaces:
ICacheManager
public class PlainCacheManager extends CacheManager
-
-
Constructor Summary
Constructors Constructor Description PlainCacheManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddToNodeCache(CacheEntry cacheEntry, IMNode node)protected voidclearNodeCache()protected IMNodegetPotentialNodeTobeEvicted()protected booleanisInNodeCache(CacheEntry cacheEntry)protected voidremoveFromNodeCache(CacheEntry cacheEntry)protected voidupdateCacheStatusAfterAccess(CacheEntry cacheEntry)protected voidupdateCacheStatusAfterUpdate(CacheEntry cacheEntry, IMNode node)-
Methods inherited from class org.apache.iotdb.db.metadata.mtree.store.disk.cache.CacheManager
clear, collectVolatileMNodes, evict, getCacheEntry, initCacheEntryForNode, initRootStatus, pinMNode, remove, unPinMNode, updateCacheStatusAfterAppend, updateCacheStatusAfterDiskRead, updateCacheStatusAfterMemoryRead, updateCacheStatusAfterPersist, updateCacheStatusAfterUpdate
-
-
-
-
Method Detail
-
updateCacheStatusAfterAccess
protected void updateCacheStatusAfterAccess(CacheEntry cacheEntry)
- Specified by:
updateCacheStatusAfterAccessin classCacheManager
-
updateCacheStatusAfterUpdate
protected void updateCacheStatusAfterUpdate(CacheEntry cacheEntry, IMNode node)
- Specified by:
updateCacheStatusAfterUpdatein classCacheManager
-
isInNodeCache
protected boolean isInNodeCache(CacheEntry cacheEntry)
- Specified by:
isInNodeCachein classCacheManager
-
addToNodeCache
protected void addToNodeCache(CacheEntry cacheEntry, IMNode node)
- Specified by:
addToNodeCachein classCacheManager
-
removeFromNodeCache
protected void removeFromNodeCache(CacheEntry cacheEntry)
- Specified by:
removeFromNodeCachein classCacheManager
-
getPotentialNodeTobeEvicted
protected IMNode getPotentialNodeTobeEvicted()
- Specified by:
getPotentialNodeTobeEvictedin classCacheManager
-
clearNodeCache
protected void clearNodeCache()
- Specified by:
clearNodeCachein classCacheManager
-
-