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, getKey, getLifespan, getMaxIdle, getMetadata, getStateFlags, getValue, isChanged, isCreated, isEvicted, isExpired, isFlagSet, isLoaded, isRemoved, isValid, rollback, setChanged, setCreated, setEvicted, setExpired, setFlag, setFlag, setLoaded, setMetadata, setRemoved, setValid, setValue, toString, undelete, unsetFlagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyForUpdatecomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodepublic void copyForUpdate()
MVCCEntrycopyForUpdate in interface MVCCEntrycopyForUpdate in class ReadCommittedEntrypublic void performLocalWriteSkewCheck(DataContainer container, boolean alreadyCopied)
public boolean isNull()
CacheEntryisNull in interface CacheEntryisNull in class ReadCommittedEntrypublic void setSkipLookup(boolean skipLookup)
CacheEntrysetSkipLookup in interface CacheEntrysetSkipLookup in class ReadCommittedEntrypublic boolean skipLookup()
skipLookup in interface CacheEntryskipLookup in class ReadCommittedEntrytrue if the value must not be fetch from an external sourcepublic RepeatableReadEntry clone()
clone in interface CacheEntryclone in class ReadCommittedEntryCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.