org.infinispan.container.entries
Class NullMarkerEntry
java.lang.Object
org.infinispan.container.entries.ReadCommittedEntry
org.infinispan.container.entries.RepeatableReadEntry
org.infinispan.container.entries.NullMarkerEntryForRemoval
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.
- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org)
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 |
getInstance
public static NullMarkerEntry getInstance()
copyForUpdate
public final void copyForUpdate(DataContainer d,
boolean b)
- A no-op.
- Specified by:
copyForUpdate
in interface MVCCEntry
- Overrides:
copyForUpdate
in class RepeatableReadEntry
- Parameters:
d
- data containerb
- 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.