public class ReplicationEntryHolder extends EntryHolder
IEntryHolder
implementation which holds the entry's previous version in space before
update operation. Relevant only for transactional operations where version can be increased
by more than +1 due to several update operations.
Eventually the previous version is
verified against replication's target current version.
Constructor and Description |
---|
ReplicationEntryHolder(IEntryHolder entryHolder,
XtnEntry xtnEntry) |
Modifier and Type | Method and Description |
---|---|
IEntryHolder |
getOriginalEntryHolder() |
ShadowEntryHolder |
getShadow() |
boolean |
hasShadow() |
addReadLockOwner, addTemplateWaitingForEntry, anyReadLockXtn, clearReadLockOwners, createCopy, createDummy, dump, getCopyOfTemplatesWaitingForEntry, getEntryData, getExternalLockObject, getMaster, getOtherUpdateUnderXtnEntry, getReadLockOwners, getTemplatesWaitingForEntry, getTxnEntryData, getUidToOperateBy, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, hasShadow, isBlobStoreEntry, isEntryUnderWriteLockXtn, isExpired, isExpired, isHasWaitingFor, isSameEntryInstance, isUnderPendingUpdate, isUnstable, removeReadLockOwner, removeTemplateWaitingForEntry, resetEntryXtnInfo, resetWriteLockOwner, resetXidOriginated, restoreUpdateXtnRollback, setExpirationTime, setHasWaitingFor, setOtherUpdateUnderXtnEntry, setunStable, setWriteLockOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerOperationAndShadow, updateEntryData, updateVersionAndExpiration
getClassName, getEntryId, getEvictableLockObject, getExpirationTime, getHandback, getNotifyType, getOrder, getRoutingValue, getSCN, getServerTypeDesc, getUID, getVersionID, isDeleted, isLockSubject, isMaybeUnderXtn, isShadow, isTransient, setDeleted, setMaybeUnderXtn, setOrder, setSCN, setUID, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntryId, getHandback, getNotifyType, getOrder, getRoutingValue, isShadow, setOrder, setSCN, setUID
getClassName, getSCN, getServerTypeDesc, isDeleted, isMaybeUnderXtn, isTransient, setDeleted, setMaybeUnderXtn
isLockSubject
getUID
public ReplicationEntryHolder(IEntryHolder entryHolder, XtnEntry xtnEntry)
public boolean hasShadow()
hasShadow
in interface IEntryHolder
hasShadow
in class AbstractSpaceItem
public ShadowEntryHolder getShadow()
getShadow
in interface IEntryHolder
getShadow
in class EntryHolder
public IEntryHolder getOriginalEntryHolder()
getOriginalEntryHolder
in interface IEntryHolder
getOriginalEntryHolder
in class EntryHolder
Copyright © GigaSpaces.