org.infinispan.tree
Class TreeStructureSupport

java.lang.Object
  extended by org.infinispan.batch.AutoBatchSupport
      extended by org.infinispan.tree.TreeStructureSupport
Direct Known Subclasses:
NodeImpl, TreeCacheImpl

public class TreeStructureSupport
extends AutoBatchSupport


Field Summary
 
Fields inherited from class org.infinispan.batch.AutoBatchSupport
batchContainer
 
Constructor Summary
TreeStructureSupport(Cache cache, BatchContainer batchContainer, InvocationContextContainer icc)
           
 
Method Summary
 boolean exists(Fqn f)
           
static boolean isLocked(LockManager lockManager, Fqn fqn)
           
static String printTree(TreeCache<?,?> cache, boolean details)
          Visual representation of a tree
 
Methods inherited from class org.infinispan.batch.AutoBatchSupport
assertBatchingSupported, endAtomic, startAtomic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeStructureSupport

public TreeStructureSupport(Cache cache,
                            BatchContainer batchContainer,
                            InvocationContextContainer icc)
Method Detail

exists

public boolean exists(Fqn f)

isLocked

public static boolean isLocked(LockManager lockManager,
                               Fqn fqn)

printTree

public static String printTree(TreeCache<?,?> cache,
                               boolean details)
Visual representation of a tree

Parameters:
cache - cache to dump
Returns:
String rep


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