|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.invocation.AbstractInvocationDelegate org.jboss.cache.invocation.NodeInvocationDelegate org.jboss.cache.mvcc.ReadCommittedNode org.jboss.cache.mvcc.RepeatableReadNode
public class RepeatableReadNode
A node delegate that encapsulates repeatable read semantics when writes are initiated, committed or rolled back.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jboss.cache.mvcc.ReadCommittedNode |
---|
ReadCommittedNode.Flags |
Field Summary |
---|
Fields inherited from class org.jboss.cache.mvcc.ReadCommittedNode |
---|
backup, flags, parent |
Fields inherited from class org.jboss.cache.invocation.NodeInvocationDelegate |
---|
node |
Fields inherited from class org.jboss.cache.invocation.AbstractInvocationDelegate |
---|
componentRegistry, configuration, invocationContextContainer, invoker, originLocal |
Constructor Summary | |
---|---|
RepeatableReadNode(InternalNode node,
InternalNode parent)
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.jboss.cache.mvcc.ReadCommittedNode |
---|
commitUpdate, getInternalParent, isChanged, isCreated, isDeleted, isFlagSet, isNullNode, lookupParent, markAsDeleted, markAsDeleted, rollbackUpdate, setChildrenLoaded, setCreated, setDataLoaded, setFlag, unsetFlag |
Methods inherited from class org.jboss.cache.invocation.AbstractInvocationDelegate |
---|
assertIsConstructed, initialize |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepeatableReadNode(InternalNode node, InternalNode parent)
Method Detail |
---|
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 container
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |