Modifier and Type | Method and Description |
---|---|
long |
BlockCacheConfiguration.getMaxSize(CacheType type) |
Map<String,String> |
BlockCacheConfiguration.getProperties(String prefix,
CacheType type) |
Modifier and Type | Method and Description |
---|---|
static LruBlockCacheConfiguration.Builder |
LruBlockCacheConfiguration.builder(CacheType ct) |
protected BlockCache |
LruBlockCacheManager.createCache(BlockCacheManager.Configuration conf,
CacheType type) |
Constructor and Description |
---|
LruBlockCacheConfiguration(BlockCacheManager.Configuration conf,
CacheType type) |
Modifier and Type | Method and Description |
---|---|
protected TinyLfuBlockCache |
TinyLfuBlockCacheManager.createCache(BlockCacheManager.Configuration conf,
CacheType type) |
Constructor and Description |
---|
TinyLfuBlockCache(BlockCacheManager.Configuration conf,
CacheType type) |
Modifier and Type | Method and Description |
---|---|
static CacheType |
CacheType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
CacheType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected abstract BlockCache |
BlockCacheManager.createCache(BlockCacheManager.Configuration conf,
CacheType type)
Create a block cache using the supplied configuration
|
BlockCache |
BlockCacheManager.getBlockCache(CacheType type)
Get the block cache of the given type
|
static String |
BlockCacheManager.getFullyQualifiedPropertyPrefix(String prefix,
CacheType type)
A convenience method that returns a string of the from
tserver.cache.config.<prefix>.<type>. this method is useful for configuring a cache
manager. |
long |
BlockCacheManager.Configuration.getMaxSize(CacheType type)
Before Accumulo's cache implementation was configurable, its built in caches had a
configurable size.
|
Map<String,String> |
BlockCacheManager.Configuration.getProperties(String prefix,
CacheType type)
This method provides a way for a cache implementation to access arbitrary configuration set
by a user.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.