org.infinispan.container.entries
Interface MVCCEntry
- All Superinterfaces:
- CacheEntry, Map.Entry<Object,Object>
- All Known Implementing Classes:
- NullMarkerEntry, NullMarkerEntryForRemoval, ReadCommittedEntry, RepeatableReadEntry
public interface MVCCEntry
- extends CacheEntry
An entry that can be safely copied when updates are made, to provide MVCC semantics
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from interface org.infinispan.container.entries.CacheEntry |
commit, getKey, getLifespan, getMaxIdle, getValue, isChanged, isCreated, isNull, isRemoved, isValid, rollback, setCreated, setLifespan, setMaxIdle, setRemoved, setValid, setValue |
copyForUpdate
void copyForUpdate(DataContainer container,
boolean writeSkewCheck)
- Makes internal copies of the entry for updates
- Parameters:
container
- data containerwriteSkewCheck
- if true, write skews are tested for and exceptions are thrown if detected. Only applicable
to IsolationLevel.REPEATABLE_READ
.
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.