Class BlockCacheManagerFactory
- java.lang.Object
-
- org.apache.accumulo.core.file.blockfile.cache.impl.BlockCacheManagerFactory
-
public class BlockCacheManagerFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description BlockCacheManagerFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockCacheManager
getClientInstance(AccumuloConfiguration conf)
Get the BlockCacheFactory specified by the property 'tserver.cache.factory.class'static BlockCacheManager
getInstance(AccumuloConfiguration conf)
Get the BlockCacheFactory specified by the property 'tserver.cache.factory.class' using the AccumuloVFSClassLoader
-
-
-
Method Detail
-
getInstance
public static BlockCacheManager getInstance(AccumuloConfiguration conf) throws Exception
Get the BlockCacheFactory specified by the property 'tserver.cache.factory.class' using the AccumuloVFSClassLoader- Parameters:
conf
- accumulo configuration- Returns:
- block cache manager instance
- Throws:
Exception
- error loading block cache manager implementation class
-
getClientInstance
public static BlockCacheManager getClientInstance(AccumuloConfiguration conf) throws Exception
Get the BlockCacheFactory specified by the property 'tserver.cache.factory.class'- Parameters:
conf
- accumulo configuration- Returns:
- block cache manager instance
- Throws:
Exception
- error loading block cache manager implementation class
-
-