public class RepeatableReadEntry extends ReadCommittedEntry
ReadCommittedEntry
that provides Repeatable Read semanticsReadCommittedEntry.Flags
Constructor and Description |
---|
RepeatableReadEntry(Object key,
Object value,
Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
RepeatableReadEntry |
clone() |
void |
copyForUpdate()
Makes internal copies of the entry for updates
|
boolean |
isNull()
Tests whether the entry represents a null value, typically used for repeatable read.
|
void |
performLocalWriteSkewCheck(DataContainer container,
boolean alreadyCopied) |
void |
setSkipLookup(boolean skipLookup)
|
boolean |
skipLookup() |
commit, copyStateFlagsFrom, getCreated, getKey, getLastUsed, getLifespan, getMaxIdle, getMetadata, getStateFlags, getValue, isChanged, isCreated, isEvicted, isExpired, isLoaded, isRemoved, isValid, rollback, setChanged, setCreated, setCreated, setEvicted, setExpired, setFlag, setLastUsed, setLoaded, setMetadata, setRemoved, setValid, setValue, toString, undelete
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copyForUpdate
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
public void copyForUpdate()
MVCCEntry
copyForUpdate
in interface MVCCEntry
copyForUpdate
in class ReadCommittedEntry
public void performLocalWriteSkewCheck(DataContainer container, boolean alreadyCopied)
public boolean isNull()
CacheEntry
isNull
in interface CacheEntry
isNull
in class ReadCommittedEntry
public void setSkipLookup(boolean skipLookup)
CacheEntry
setSkipLookup
in interface CacheEntry
setSkipLookup
in class ReadCommittedEntry
public boolean skipLookup()
skipLookup
in interface CacheEntry
skipLookup
in class ReadCommittedEntry
true
if the value must not be fetch from an external sourcepublic RepeatableReadEntry clone()
clone
in interface CacheEntry
clone
in class ReadCommittedEntry
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.