org.infinispan.container.entries
Class NullMarkerEntry

java.lang.Object
  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, StateChangingEntry, Versioned

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.

Since:
4.0
Author:
Manik Surtani (manik@jboss.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.infinispan.container.entries.ReadCommittedEntry
ReadCommittedEntry.Flags
 
Field Summary
 
Fields inherited from class org.infinispan.container.entries.ReadCommittedEntry
flags, key, oldValue, value
 
Method Summary
 void copyForUpdate(DataContainer d, boolean localModeWriteSkewCheck)
          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.RepeatableReadEntry
performLocalWriteSkewCheck
 
Methods inherited from class org.infinispan.container.entries.ReadCommittedEntry
commit, copyStateFlagsFrom, getKey, getLifespan, getMaxIdle, getStateFlags, getValue, getVersion, isChanged, isCreated, isEvicted, isFlagSet, rollback, setChanged, setCreated, setEvicted, setFlag, setLifespan, setMaxIdle, setRemoved, setValid, setValue, setVersion, toString, undelete, 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

getInstance

public static NullMarkerEntry getInstance()

copyForUpdate

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

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

-->

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