Package org.infinispan.tree
Class TreeCacheFactory
- java.lang.Object
-
- org.infinispan.tree.TreeCacheFactory
-
public class TreeCacheFactory extends java.lang.ObjectFactory class that contains API for users to create instances ofTreeCache- Author:
- Navin Surtani
-
-
Constructor Summary
Constructors Constructor Description TreeCacheFactory()
-
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 aCacheas a parameter
-
-
-
Method Detail
-
createTreeCache
public <K,V> TreeCache<K,V> createTreeCache(Cache<K,V> cache)
Creates a TreeCache instance by taking in aCacheas a parameter- Parameters:
cache-- Returns:
- instance of a
TreeCache - Throws:
java.lang.NullPointerException- if the cache parameter is nullCacheConfigurationException- if the invocation batching configuration is not enabled.
-
-