Class NullMarkerEntry

  extended by org.infinispan.container.entries.ReadCommittedEntry
      extended by org.infinispan.container.entries.RepeatableReadEntry
          extended by org.infinispan.container.entries.NullMarkerEntryForRemoval
              extended by org.infinispan.container.entries.NullMarkerEntry
All Implemented Interfaces:
Map.Entry<Object,Object>, CacheEntry, MVCCEntry

public class NullMarkerEntry
extends NullMarkerEntryForRemoval

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

Manik Surtani (

Nested Class Summary
Nested classes/interfaces inherited from class org.infinispan.container.entries.ReadCommittedEntry
Field Summary
Fields inherited from class org.infinispan.container.entries.ReadCommittedEntry
flags, key, oldValue, value
Method Summary
 void copyForUpdate(DataContainer d, boolean b)
          A no-op.
static NullMarkerEntry getInstance()
Methods inherited from class org.infinispan.container.entries.NullMarkerEntryForRemoval
isLockPlaceholder, isNull, isRemoved, isValid, setLockPlaceholder
Methods inherited from class org.infinispan.container.entries.ReadCommittedEntry
commit, getKey, getLifespan, getMaxIdle, getValue, isChanged, isCreated, isEvicted, isFlagSet, rollback, setChanged, setCreated, setEvicted, setFlag, setLifespan, setMaxIdle, setRemoved, setValid, setValue, toString, unsetFlag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map.Entry
equals, hashCode

Method Detail


public static NullMarkerEntry getInstance()


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

Specified by:
copyForUpdate in interface MVCCEntry
copyForUpdate in class RepeatableReadEntry
d - data container
b - if true, write skews are tested for and exceptions are thrown if detected. Only applicable to IsolationLevel.REPEATABLE_READ.


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