public class RepeatableReadNode extends ReadCommittedNode
ReadCommittedNode.Flags
backup, flags, parent
node
componentRegistry, configuration, invocationContextContainer, invoker, originLocal
Constructor and Description |
---|
RepeatableReadNode(InternalNode node,
InternalNode parent) |
Modifier and Type | Method and Description |
---|---|
void |
markForUpdate(DataContainer container,
boolean writeSkewCheck)
Marks a node for updating.
|
protected void |
updateNode(Fqn fqn,
InvocationContext ctx,
DataContainer dataContainer)
Updates state changes on the current node in the underlying data structure.
|
commitUpdate, getInternalParent, isChanged, isCreated, isDeleted, isFlagSet, isNullNode, lookupParent, markAsDeleted, markAsDeleted, rollbackUpdate, setChildrenLoaded, setCreated, setDataLoaded, setFlag, unsetFlag
addChild, addChild, addChildDirect, addChildDirect, addChildDirect, addChildDirect, assertValid, clearData, clearDataDirect, containsKeyDirect, dataSize, equals, get, getCache, getChild, getChild, getChildDirect, getChildDirect, getChildren, getChildrenDirect, getChildrenDirect, getChildrenMapDirect, getChildrenNames, getChildrenNamesDirect, getData, getDataDirect, getDelegationTarget, getDirect, getFqn, getInternalState, getKeys, getKeysDirect, getLock, getOrCreateChild, getParent, getParentDirect, getVersion, hasChild, hasChild, hasChildrenDirect, hashCode, injectDependencies, isChildrenLoaded, isDataLoaded, isLeaf, isLockForChildInsertRemove, isResident, isValid, print, printDetails, put, putAll, putAllDirect, putDirect, putIfAbsent, releaseObjectReferences, remove, removeChild, removeChild, removeChildDirect, removeChildDirect, removeChildrenDirect, removeDirect, replace, replace, replaceAll, setChildrenMapDirect, setFqn, setInternalState, setLockForChildInsertRemove, setResident, setValid, setVersion, toString
assertIsConstructed, initialize
public RepeatableReadNode(InternalNode node, InternalNode parent)
public void markForUpdate(DataContainer container, boolean writeSkewCheck)
NodeSPI
markForUpdate
in interface NodeSPI
markForUpdate
in class ReadCommittedNode
container
- data containerwriteSkewCheck
- if true, and the node supports write skew checking, nodes are tested for write skews.protected void updateNode(Fqn fqn, InvocationContext ctx, DataContainer dataContainer)
ReadCommittedNode
updateNode
in class ReadCommittedNode
ctx
- invocation contextdataContainer
- data containerCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.