public interface MVCCEntry extends CacheEntry
Modifier and Type | Method and Description |
---|---|
void |
copyForUpdate(DataContainer container,
boolean writeSkewCheck)
Makes internal copies of the entry for updates
|
void |
setLockPlaceholder(boolean placeholder)
Marks an entry as a lock placeholder
|
commit, getKey, getLifespan, getMaxIdle, getValue, isChanged, isCreated, isEvicted, isLockPlaceholder, isNull, isRemoved, isValid, rollback, setCreated, setEvicted, setLifespan, setMaxIdle, setRemoved, setValid, setValue, undelete
getVersion, setVersion
void copyForUpdate(DataContainer container, boolean writeSkewCheck)
container
- data containerwriteSkewCheck
- if true, write skews are tested for and exceptions are thrown if detected. Only applicable
to IsolationLevel.REPEATABLE_READ
.void setLockPlaceholder(boolean placeholder)
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.