public class TreeStructureSupport extends AutoBatchSupport
Modifier and Type | Field and Description |
---|---|
protected AdvancedCache<NodeKey,AtomicMap<?,?>> |
cache |
batchContainer
Constructor and Description |
---|
TreeStructureSupport(AdvancedCache<?,?> cache,
BatchContainer batchContainer) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
createNodeInCache(AdvancedCache<?,?> cache,
Fqn fqn) |
protected boolean |
exists(AdvancedCache<?,?> cache,
Fqn f) |
boolean |
exists(Fqn f) |
protected <K,V> AtomicMap<K,V> |
getAtomicMap(AdvancedCache<?,?> cache,
NodeKey key) |
protected <K,V> AtomicMap<K,V> |
getAtomicMap(NodeKey key) |
static boolean |
isLocked(LockManager lockManager,
Fqn fqn) |
static String |
printTree(TreeCache<?,?> cache,
boolean details)
Returns a String representation of a tree cache.
|
assertBatchingSupported, endAtomic, failAtomic, startAtomic
protected final AdvancedCache<NodeKey,AtomicMap<?,?>> cache
public TreeStructureSupport(AdvancedCache<?,?> cache, BatchContainer batchContainer)
public boolean exists(Fqn f)
protected boolean exists(AdvancedCache<?,?> cache, Fqn f)
protected boolean createNodeInCache(AdvancedCache<?,?> cache, Fqn fqn)
public static boolean isLocked(LockManager lockManager, Fqn fqn)
public static String printTree(TreeCache<?,?> cache, boolean details)
protected final <K,V> AtomicMap<K,V> getAtomicMap(AdvancedCache<?,?> cache, NodeKey key)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.