public class RepeatableReadEntry extends ReadCommittedEntry
ReadCommittedEntry
that provides Repeatable Read semanticsReadCommittedEntry.Flags
flags, key, oldValue, value
Constructor and Description |
---|
RepeatableReadEntry(Object key,
Object value,
EntryVersion version,
long lifespan) |
Modifier and Type | Method and Description |
---|---|
void |
copyForUpdate(DataContainer container,
boolean localModeWriteSkewCheck)
Makes internal copies of the entry for updates
|
void |
performLocalWriteSkewCheck(DataContainer container,
boolean alreadyCopied) |
commit, getKey, getLifespan, getMaxIdle, getValue, getVersion, isChanged, isCreated, isEvicted, isFlagSet, isLockPlaceholder, isNull, isRemoved, isValid, rollback, setChanged, setCreated, setEvicted, setFlag, setLifespan, setLockPlaceholder, setMaxIdle, setRemoved, setValid, setValue, setVersion, toString, undelete, unsetFlag
public RepeatableReadEntry(Object key, Object value, EntryVersion version, long lifespan)
public void copyForUpdate(DataContainer container, boolean localModeWriteSkewCheck)
MVCCEntry
copyForUpdate
in interface MVCCEntry
copyForUpdate
in class ReadCommittedEntry
container
- data containerlocalModeWriteSkewCheck
- if true, write skews are tested for and exceptions are thrown if detected. Only applicable
to IsolationLevel.REPEATABLE_READ
.public void performLocalWriteSkewCheck(DataContainer container, boolean alreadyCopied)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.