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 |
|---|---|
void |
copyForUpdate(DataContainer container)
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 |
setSkipRemoteGet(boolean skipRemoteGet)
|
boolean |
skipRemoteGet() |
commit, copyStateFlagsFrom, getKey, getLifespan, getMaxIdle, getMetadata, getStateFlags, getValue, isChanged, isCreated, isEvicted, isFlagSet, isLoaded, isRemoved, isValid, rollback, setChanged, setCreated, setEvicted, setFlag, setFlag, setLoaded, setMetadata, setRemoved, setValid, setValue, toString, undelete, unsetFlagclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodepublic void copyForUpdate(DataContainer container)
MVCCEntrycopyForUpdate in interface MVCCEntrycopyForUpdate in class ReadCommittedEntrycontainer - data containerpublic void performLocalWriteSkewCheck(DataContainer container, boolean alreadyCopied)
public boolean isNull()
CacheEntryisNull in interface CacheEntryisNull in class ReadCommittedEntrypublic void setSkipRemoteGet(boolean skipRemoteGet)
CacheEntrysetSkipRemoteGet in interface CacheEntrysetSkipRemoteGet in class ReadCommittedEntrypublic boolean skipRemoteGet()
skipRemoteGet in interface CacheEntryskipRemoteGet in class ReadCommittedEntrytrue if the value must not be fetch from a remote node.Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.