org.infinispan.tree
Class TreeCacheFactory
java.lang.Object
org.infinispan.tree.TreeCacheFactory
public class TreeCacheFactory
- extends Object
Factory class that contains API for users to create instances of TreeCache
- Author:
- Navin Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeCacheFactory
public TreeCacheFactory()
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:
NullPointerException
- if the cache parameter is null
ConfigurationException
- if the invocation batching configuration is not enabled.
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.