org.infinispan.tree
Class TreeStructureSupport
java.lang.Object
org.infinispan.batch.AutoBatchSupport
org.infinispan.tree.TreeStructureSupport
- Direct Known Subclasses:
- NodeImpl, TreeCacheImpl
public class TreeStructureSupport
- extends AutoBatchSupport
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected final AdvancedCache<NodeKey,AtomicMap<?,?>> cache
TreeStructureSupport
public TreeStructureSupport(AdvancedCache<?,?> cache,
BatchContainer batchContainer)
exists
public boolean exists(Fqn f)
exists
protected boolean exists(AdvancedCache<?,?> cache,
Fqn f)
createNodeInCache
protected boolean createNodeInCache(AdvancedCache<?,?> cache,
Fqn fqn)
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
getAtomicMap
protected final <K,V> AtomicMap<K,V> getAtomicMap(NodeKey key)
getAtomicMap
protected final <K,V> AtomicMap<K,V> getAtomicMap(AdvancedCache<?,?> cache,
NodeKey key)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.