Infinispan provides the following APIs to access the grid:
org.infinispan.tree.TreeCacheinterface to provide compatibility with JBoss Cache. It can be used for caching data organized as tree-like structures, like a filesystem tree.
To create an instance of
TreeCache, you will need a factory class called
org.infinispan.tree.TreeCacheFactory. Define the tree structure using the
org.infinispan.tree.Node interface, by defining a root node and a collection of node objects that contain the key and value data.
You can find a simple example of the
TreeCache API using the Infinispan configuration ...