org.infinispan.tree
Class TreeCacheFactory

java.lang.Object
  extended by org.infinispan.tree.TreeCacheFactory

public class TreeCacheFactory
extends Object

Factory class that contains API for users to create instances of TreeCache

Author:
Navin Surtani

Constructor Summary
TreeCacheFactory()
           
 
Method Summary
<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:
NullPointerException - if the cache parameter is null
ConfigurationException - if the invocation batching configuration is not enabled.

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.