public class NullMarkerEntryForRemoval extends RepeatableReadEntry
ReadCommittedEntry.Flags
flags, key, oldValue, value
Constructor and Description |
---|
NullMarkerEntryForRemoval(Object key,
EntryVersion version) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLockPlaceholder() |
boolean |
isNull()
Tests whether the entry represents a null value, typically used for repeatable read.
|
boolean |
isRemoved() |
boolean |
isValid() |
void |
setLockPlaceholder(boolean placeholder)
Marks an entry as a lock placeholder
|
copyForUpdate, performLocalWriteSkewCheck
commit, getKey, getLifespan, getMaxIdle, getValue, getVersion, isChanged, isCreated, isEvicted, isFlagSet, rollback, setChanged, setCreated, setEvicted, setFlag, setLifespan, setMaxIdle, setRemoved, setValid, setValue, setVersion, toString, undelete, unsetFlag
public NullMarkerEntryForRemoval(Object key, EntryVersion version)
public final boolean isNull()
CacheEntry
isNull
in interface CacheEntry
isNull
in class ReadCommittedEntry
public final boolean isRemoved()
isRemoved
in interface CacheEntry
isRemoved
in class ReadCommittedEntry
public final boolean isValid()
isValid
in interface CacheEntry
isValid
in class ReadCommittedEntry
public boolean isLockPlaceholder()
isLockPlaceholder
in interface CacheEntry
isLockPlaceholder
in class ReadCommittedEntry
public void setLockPlaceholder(boolean placeholder)
MVCCEntry
setLockPlaceholder
in interface MVCCEntry
setLockPlaceholder
in class ReadCommittedEntry
placeholder
- if true, the entry is marked as a lock placeholder. If false, the entry is un-marked as a placeholder.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.