public class NullMarkerNodeForRemoval extends RepeatableReadNode
ReadCommittedNode.Flagsbackup, flags, parentnodecomponentRegistry, configuration, invocationContextContainer, invoker, originLocal| Constructor and Description |
|---|
NullMarkerNodeForRemoval(InternalNode parent,
Fqn fqn) |
| Modifier and Type | Method and Description |
|---|---|
Set |
getChildrenDirect()
Functionally the same as
Node.getChildren() except that it operates directly on the node and bypasses the
interceptor chain. |
Set |
getChildrenNamesDirect()
Functionally the same as
Node.getChildrenNames() except that it operates directly on the node and bypasses the
interceptor chain. |
Map |
getDataDirect()
Functionally the same as
Node.getData() except that it operates directly on the node and bypasses the
interceptor chain. |
Fqn |
getFqn()
|
boolean |
isDeleted()
Returns true if the instance has been deleted in the current transaction.
|
boolean |
isNullNode() |
boolean |
isValid()
Tests if a node reference is still valid.
|
void |
setValid(boolean valid,
boolean recursive)
Sets the validity of a node.
|
protected void |
updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer)
Updates state changes on the current node in the underlying data structure.
|
markForUpdatecommitUpdate, getInternalParent, isChanged, isCreated, isFlagSet, lookupParent, markAsDeleted, markAsDeleted, rollbackUpdate, setChildrenLoaded, setCreated, setDataLoaded, setFlag, unsetFlagaddChild, addChild, addChildDirect, addChildDirect, addChildDirect, addChildDirect, assertValid, clearData, clearDataDirect, containsKeyDirect, dataSize, equals, get, getCache, getChild, getChild, getChildDirect, getChildDirect, getChildren, getChildrenDirect, getChildrenMapDirect, getChildrenNames, getData, getDelegationTarget, getDirect, getInternalState, getKeys, getKeysDirect, getLock, getOrCreateChild, getParent, getParentDirect, getVersion, hasChild, hasChild, hasChildrenDirect, hashCode, injectDependencies, isChildrenLoaded, isDataLoaded, isLeaf, isLockForChildInsertRemove, isResident, print, printDetails, put, putAll, putAllDirect, putDirect, putIfAbsent, releaseObjectReferences, remove, removeChild, removeChild, removeChildDirect, removeChildDirect, removeChildrenDirect, removeDirect, replace, replace, replaceAll, setChildrenMapDirect, setFqn, setInternalState, setLockForChildInsertRemove, setResident, setVersion, toStringassertIsConstructed, initializepublic NullMarkerNodeForRemoval(InternalNode parent, Fqn fqn)
public boolean isNullNode()
isNullNode in interface NodeSPIisNullNode in class ReadCommittedNodepublic boolean isValid()
NodeNodeNotValidException.isValid in interface NodeisValid in class NodeInvocationDelegatepublic boolean isDeleted()
NodeSPIisDeleted in interface NodeSPIisDeleted in class ReadCommittedNodeprotected void updateNode(Fqn fqn, InvocationContext ctx, DataContainer dataContainer)
ReadCommittedNodeupdateNode in class RepeatableReadNodectx - invocation contextdataContainer - data containerpublic Map getDataDirect()
NodeSPINode.getData() except that it operates directly on the node and bypasses the
interceptor chain.
Note that this returns a reference to access the node's data.
This data should only be modified by the cache itself.
This method should never return null.
The caller needs to ensure a proper lock has been obtained prior to calling this method, otherwise a
LockingException will be thrown.
getDataDirect in interface NodeSPIgetDataDirect in class NodeInvocationDelegateNode.getData()public Set getChildrenNamesDirect()
NodeSPINode.getChildrenNames() except that it operates directly on the node and bypasses the
interceptor chain.
The caller needs to ensure a proper lock has been obtained prior to calling this method, otherwise a
LockingException will be thrown.
getChildrenNamesDirect in interface NodeSPIgetChildrenNamesDirect in class NodeInvocationDelegateNode.getChildrenNames()public Set getChildrenDirect()
NodeSPINode.getChildren() except that it operates directly on the node and bypasses the
interceptor chain.
The caller needs to ensure a proper lock has been obtained prior to calling this method, otherwise a
LockingException will be thrown.
getChildrenDirect in interface NodeSPIgetChildrenDirect in class NodeInvocationDelegateNode.getChildren()public void setValid(boolean valid,
boolean recursive)
NodeSPINode.isValid().setValid in interface NodeSPIsetValid in class NodeInvocationDelegatevalid - if true, the node is marked as valid; if false, the node is invalid.recursive - if true, the validity flag passed in is applied to all children as well.Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.