This topic has not yet been written. The content below is from the topic description.
Dependencies For your application to use the tree API, you need to import infinispan-tree.jar which can be located in the Infinispan binary distributions, or you can simply add a dependency to this module in your pom.xml:  ...     org.infinispan    infinispan-tree      ... Creating a Tree Cache The first step to use the tree API is to actually create a tree cache. To do so, you need to create an Infinispan Cache as you'd normally do, and using the TreeCacheFactory, create an instance of TreeCache. A very important note to remember here is that the Cache instance passed to the factory must be configured with invocation batching. For example: import org.infinispan.config.Configuration; import org.infinispan.tree.TreeCacheFactory; import org.infinispan.tree.TreeCache; ... Configuration config = new Configuration(); config.setInvocationBatchingEnabled(true); Cache cache = new DefaultCacheManager(config).getCache(); TreeCache treeCache = TreeCacheFactory.createTreeCache(cache);