@Deprecated public class PessimisticUnversionedNode<K,V> extends UnversionedNode<K,V>
AbstractNode.NodeFlags| Modifier and Type | Field and Description |
|---|---|
protected IdentityLock |
lock
Deprecated.
Lock manager that manages locks to be acquired when accessing the node inside a transaction.
|
protected LockStrategyFactory |
lockStrategyFactory
Deprecated.
|
protected NodeFactory<K,V> |
nodeFactory
Deprecated.
|
children, flags, fqn| Constructor and Description |
|---|
PessimisticUnversionedNode(Object name,
Fqn fqn,
Map<K,V> data,
CacheSPI<K,V> cache)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
NodeSPI<K,V> |
addChildAndAcquireLock(Object o,
boolean notify,
PessimisticNodeBasedLockManager.LockAcquirer la)
Deprecated.
|
NodeSPI<K,V> |
addChildDirect(Fqn f)
Deprecated.
|
NodeSPI<K,V> |
addChildDirect(Fqn f,
boolean notify)
Deprecated.
|
void |
addChildDirect(NodeSPI<K,V> child)
Deprecated.
|
NodeSPI<K,V> |
addChildDirect(Object o,
boolean notify)
Deprecated.
|
void |
addChildDirect(Object nodeName,
Node<K,V> nodeToAdd)
Deprecated.
|
InternalNode<K,V> |
copy()
Deprecated.
Creates a new instance of the same type and copies internal state.
|
NodeSPI<K,V> |
getChildDirect(Fqn fqn)
Deprecated.
|
NodeSPI<K,V> |
getChildDirect(Object childName)
Deprecated.
|
Set<NodeSPI<K,V>> |
getChildrenDirect()
Deprecated.
|
Set<NodeSPI<K,V>> |
getChildrenDirect(boolean includeMarkedForRemoval)
Deprecated.
|
Map<Object,Node<K,V>> |
getChildrenMapDirect()
Deprecated.
|
IdentityLock |
getLock()
Deprecated.
|
NodeSPI<K,V> |
getOrCreateChild(Object childName,
GlobalTransaction gtx)
Deprecated.
|
protected void |
initLock()
Deprecated.
|
void |
injectDependencies(CacheSPI<K,V> spi,
CommandsFactory commandsFactory,
NodeFactory<K,V> nodeFactory)
Deprecated.
|
void |
injectLockStrategyFactory(LockStrategyFactory lockStrategyFactory)
Deprecated.
|
void |
markAsRemoved(boolean marker,
boolean recursive)
Deprecated.
|
protected void |
printDetailsInMap(StringBuilder sb,
int indent)
Deprecated.
Adds details of the node into a map as strings.
|
void |
releaseObjectReferences(boolean recursive)
Deprecated.
|
void |
setChildrenMapDirect(Map<Object,Node<K,V>> children)
Deprecated.
|
void |
setFqn(Fqn fqn)
Deprecated.
Sets the node's Fqn
|
void |
setValid(boolean valid,
boolean recursive)
Deprecated.
|
String |
toString()
Deprecated.
Returns a debug string.
|
addChild, addChild, addChild, clear, containsKey, copyDataMap, copyInternals, downgradeDataMapIfNeeded, get, getCache, getChild, getChild, getChildren, getChildren, getChildrenMap, getChildrenNames, getData, getDelegate, getFqn, getInternalState, getKeys, getParent, hasChildren, initFlags, isChildrenLoaded, isDataLoaded, isLockForChildInsertRemove, isValid, printDetails, printIndent, put, putAll, remove, removeChild, removeChild, removeChildren, setChildrenLoaded, setChildrenMap, setDataLoaded, setDelegate, setInternalState, setLockForChildInsertRemove, upgradeDataMapequals, getVersion, hashCode, isFlagSet, isRemoved, isResident, setFlag, setFlag, setRemoved, setResident, setVersion, unsetFlagclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetVersion, isRemoved, isResident, setRemoved, setResident, setVersionprotected transient volatile IdentityLock lock
protected LockStrategyFactory lockStrategyFactory
protected NodeFactory<K,V> nodeFactory
public void injectLockStrategyFactory(LockStrategyFactory lockStrategyFactory)
public void injectDependencies(CacheSPI<K,V> spi, CommandsFactory commandsFactory, NodeFactory<K,V> nodeFactory)
protected void initLock()
public IdentityLock getLock()
getLock in interface InternalNode<K,V>getLock in class AbstractNode<K,V>public String toString()
UnversionedNodetoString in class UnversionedNode<K,V>public InternalNode<K,V> copy()
InternalNodecopy in interface InternalNode<K,V>copy in class UnversionedNode<K,V>public void addChildDirect(NodeSPI<K,V> child)
addChildDirect in interface InternalNode<K,V>addChildDirect in class AbstractNode<K,V>public NodeSPI<K,V> addChildDirect(Fqn f, boolean notify)
addChildDirect in interface InternalNode<K,V>addChildDirect in class AbstractNode<K,V>public NodeSPI<K,V> addChildDirect(Object o, boolean notify)
addChildDirect in interface InternalNode<K,V>addChildDirect in class AbstractNode<K,V>public NodeSPI<K,V> addChildAndAcquireLock(Object o, boolean notify, PessimisticNodeBasedLockManager.LockAcquirer la)
public NodeSPI<K,V> getChildDirect(Fqn fqn)
getChildDirect in interface InternalNode<K,V>getChildDirect in class AbstractNode<K,V>public NodeSPI<K,V> getChildDirect(Object childName)
getChildDirect in interface InternalNode<K,V>getChildDirect in class AbstractNode<K,V>public Set<NodeSPI<K,V>> getChildrenDirect()
getChildrenDirect in interface InternalNode<K,V>getChildrenDirect in class AbstractNode<K,V>public Map<Object,Node<K,V>> getChildrenMapDirect()
getChildrenMapDirect in interface InternalNode<K,V>getChildrenMapDirect in class AbstractNode<K,V>public void setChildrenMapDirect(Map<Object,Node<K,V>> children)
setChildrenMapDirect in interface InternalNode<K,V>setChildrenMapDirect in class AbstractNode<K,V>public void addChildDirect(Object nodeName, Node<K,V> nodeToAdd)
addChildDirect in interface InternalNode<K,V>addChildDirect in class AbstractNode<K,V>public Set<NodeSPI<K,V>> getChildrenDirect(boolean includeMarkedForRemoval)
getChildrenDirect in interface InternalNode<K,V>getChildrenDirect in class AbstractNode<K,V>public NodeSPI<K,V> addChildDirect(Fqn f)
addChildDirect in interface InternalNode<K,V>addChildDirect in class AbstractNode<K,V>public NodeSPI<K,V> getOrCreateChild(Object childName, GlobalTransaction gtx)
getOrCreateChild in interface InternalNode<K,V>getOrCreateChild in class AbstractNode<K,V>public void markAsRemoved(boolean marker,
boolean recursive)
markAsRemoved in interface InternalNode<K,V>markAsRemoved in class UnversionedNode<K,V>public void setValid(boolean valid,
boolean recursive)
setValid in interface InternalNode<K,V>setValid in class UnversionedNode<K,V>protected void printDetailsInMap(StringBuilder sb, int indent)
printDetailsInMap in class UnversionedNode<K,V>public void setFqn(Fqn fqn)
InternalNodesetFqn in interface InternalNode<K,V>setFqn in class UnversionedNode<K,V>fqn - Fqn to set topublic void releaseObjectReferences(boolean recursive)
releaseObjectReferences in interface InternalNode<K,V>releaseObjectReferences in class UnversionedNode<K,V>Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.