Class LruBlockCacheManager
- java.lang.Object
-
- org.apache.accumulo.core.spi.cache.BlockCacheManager
-
- org.apache.accumulo.core.file.blockfile.cache.lru.LruBlockCacheManager
-
public class LruBlockCacheManager extends BlockCacheManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.spi.cache.BlockCacheManager
BlockCacheManager.Configuration
-
-
Field Summary
-
Fields inherited from class org.apache.accumulo.core.spi.cache.BlockCacheManager
CACHE_PROPERTY_BASE
-
-
Constructor Summary
Constructors Constructor Description LruBlockCacheManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BlockCache
createCache(BlockCacheManager.Configuration conf, CacheType type)
Create a block cache using the supplied configurationvoid
stop()
Stop caches and release resources-
Methods inherited from class org.apache.accumulo.core.spi.cache.BlockCacheManager
getBlockCache, getFullyQualifiedPropertyPrefix, getFullyQualifiedPropertyPrefix, start
-
-
-
-
Method Detail
-
createCache
protected BlockCache createCache(BlockCacheManager.Configuration conf, CacheType type)
Description copied from class:BlockCacheManager
Create a block cache using the supplied configuration- Specified by:
createCache
in classBlockCacheManager
- Parameters:
conf
- cache configuration- Returns:
- configured block cache
-
stop
public void stop()
Description copied from class:BlockCacheManager
Stop caches and release resources- Overrides:
stop
in classBlockCacheManager
-
-