|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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, isCreated, isDeleted, isFlagSet, isChanged, isNullNode, lookupParent, markAsDeleted, markAsDeleted, rollbackUpdate, setCreated, 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 NodeSPImarkForUpdate in class ReadCommittedNodecontainer - 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 ReadCommittedNodectx - invocation contextdataContainer - data container
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||