org.jboss.cache.mvcc
Class NullMarkerNode

java.lang.Object
  extended by org.jboss.cache.invocation.AbstractInvocationDelegate
      extended by org.jboss.cache.invocation.NodeInvocationDelegate
          extended by org.jboss.cache.mvcc.ReadCommittedNode
              extended by org.jboss.cache.mvcc.RepeatableReadNode
                  extended by org.jboss.cache.mvcc.NullMarkerNodeForRemoval
                      extended by org.jboss.cache.mvcc.NullMarkerNode
All Implemented Interfaces:
Node, NodeSPI

public class NullMarkerNode
extends NullMarkerNodeForRemoval

A marker node to represent a null node for repeatable read, so that a read that returns a null can continue to return null.

Since:
3.0
Author:
Manik Surtani (manik AT jboss DOT org)

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
 
Method Summary
static NullMarkerNode getInstance()
           
 void markForUpdate(DataContainer d, boolean b)
          A no-op.
 
Methods inherited from class org.jboss.cache.mvcc.NullMarkerNodeForRemoval
getChildrenDirect, getChildrenNamesDirect, getDataDirect, getFqn, isDeleted, isNullNode, isValid, setValid, updateNode
 
Methods inherited from class org.jboss.cache.mvcc.ReadCommittedNode
commitUpdate, getInternalParent, isChanged, isCreated, isFlagSet, lookupParent, markAsDeleted, markAsDeleted, rollbackUpdate, setChildrenLoaded, setCreated, setDataLoaded, setFlag, unsetFlag
 
Methods inherited from class org.jboss.cache.invocation.NodeInvocationDelegate
addChild, 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, toString
 
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
 

Method Detail

getInstance

public static NullMarkerNode getInstance()

markForUpdate

public void markForUpdate(DataContainer d,
                          boolean b)
A no-op.

Specified by:
markForUpdate in interface NodeSPI
Overrides:
markForUpdate in class RepeatableReadNode
Parameters:
d - data container
b - if true, and the node supports write skew checking, nodes are tested for write skews.


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.