Class TreeCacheFactory


  • public class TreeCacheFactory
    extends java.lang.Object
    Factory class that contains API for users to create instances of TreeCache
    Author:
    Navin Surtani
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <K,​V>
      TreeCache<K,​V>
      createTreeCache​(Cache<K,​V> cache)
      Creates a TreeCache instance by taking in a Cache as a parameter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeCacheFactory

        public TreeCacheFactory()
    • Method Detail

      • createTreeCache

        public <K,​V> TreeCache<K,​V> createTreeCache​(Cache<K,​V> cache)
        Creates a TreeCache instance by taking in a Cache as a parameter
        Parameters:
        cache -
        Returns:
        instance of a TreeCache
        Throws:
        java.lang.NullPointerException - if the cache parameter is null
        CacheConfigurationException - if the invocation batching configuration is not enabled.