Class BlockCacheManagerFactory


  • public class BlockCacheManagerFactory
    extends Object
    • Constructor Detail

      • BlockCacheManagerFactory

        public BlockCacheManagerFactory()
    • 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