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

Manik Surtani

Method Summary
 void copyForUpdate(DataContainer container, boolean writeSkewCheck)
          Makes internal copies of the entry for updates
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
Methods inherited from interface java.util.Map.Entry
equals, hashCode

Method Detail


void copyForUpdate(DataContainer container,
                   boolean writeSkewCheck)
Makes internal copies of the entry for updates

container - data container
writeSkewCheck - if true, write skews are tested for and exceptions are thrown if detected. Only applicable to IsolationLevel.REPEATABLE_READ.

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.