@InterfaceAudience.Private public class MobCacheConfig extends CacheConfig
Modifier and Type | Field and Description |
---|---|
private static MobFileCache |
mobFileCache |
BLOCKCACHE_BLOCKSIZE_KEY, BUCKET_CACHE_BUCKETS_KEY, BUCKET_CACHE_PERSISTENT_PATH_KEY, BUCKET_CACHE_WRITER_QUEUE_KEY, BUCKET_CACHE_WRITER_THREADS_KEY, CACHE_BLOCKS_ON_WRITE_KEY, CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, CACHE_DATA_BLOCKS_COMPRESSED_KEY, CACHE_DATA_ON_READ_KEY, CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_BUCKET_CACHE_WRITER_QUEUE, DEFAULT_BUCKET_CACHE_WRITER_THREADS, DEFAULT_CACHE_BLOOMS_ON_WRITE, DEFAULT_CACHE_DATA_COMPRESSED, DEFAULT_CACHE_DATA_ON_READ, DEFAULT_CACHE_DATA_ON_WRITE, DEFAULT_CACHE_INDEXES_ON_WRITE, DEFAULT_EVICT_ON_CLOSE, DEFAULT_IN_MEMORY, DEFAULT_PREFETCH_ON_OPEN, DISABLED, EVICT_BLOCKS_ON_CLOSE_KEY, PREFETCH_BLOCKS_ON_OPEN_KEY
Constructor and Description |
---|
MobCacheConfig(org.apache.hadoop.conf.Configuration conf) |
MobCacheConfig(org.apache.hadoop.conf.Configuration conf,
ColumnFamilyDescriptor family) |
Modifier and Type | Method and Description |
---|---|
MobFileCache |
getMobFileCache()
Gets the MobFileCache.
|
static MobFileCache |
instantiateMobFileCache(org.apache.hadoop.conf.Configuration conf)
Instantiates the MobFileCache.
|
getBlockCache, getL2CacheStats, getOnHeapCache, getOnHeapCacheStats, instantiateBlockCache, isBlockCacheEnabled, isInMemory, setCacheDataOnWrite, setEvictOnClose, shouldCacheBlockOnRead, shouldCacheBloomsOnWrite, shouldCacheCompressed, shouldCacheDataCompressed, shouldCacheDataOnRead, shouldCacheDataOnWrite, shouldCacheIndexesOnWrite, shouldDropBehindCompaction, shouldEvictOnClose, shouldLockOnCacheMiss, shouldPrefetchOnOpen, shouldReadBlockFromCache, toString
private static MobFileCache mobFileCache
public MobCacheConfig(org.apache.hadoop.conf.Configuration conf, ColumnFamilyDescriptor family)
public MobCacheConfig(org.apache.hadoop.conf.Configuration conf)
public static MobFileCache instantiateMobFileCache(org.apache.hadoop.conf.Configuration conf)
conf
- The current configuration.public MobFileCache getMobFileCache()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.