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 newEntryGeneration,
ShadowEntryHolder activeEntry,
XtnEntry xtnEntry) |
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, getMaster, getOtherUpdateUnderXtnEntry, getReadLockOwners, getTemplatesWaitingForEntry, getTxnEntryData, getUidToOperateBy, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, hasShadow, isBlobStoreEntry, isEntryUnderWriteLockXtn, isExpired, isExpired, isHollowEntry, isSameEntryInstance, isUnderPendingUpdate, isUnstable, removeReadLockOwner, removeTemplateWaitingForEntry, resetEntryXtnInfo, resetWriteLockOwner, resetXidOriginated, restoreUpdateXtnRollback, setExpirationTime, setOtherUpdateUnderXtnEntry, setunStable, setWriteLockOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerAndOperation, setWriteLockOwnerOperationAndShadow, updateEntryData, updateVersionAndExpiration
getClassName, getEntryId, getExpirationTime, getFlag, getHandback, getNotifyType, getOrder, getRoutingValue, getSCN, getServerTypeDesc, getUID, getVersionID, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isLockSubject, isMaybeUnderXtn, isShadow, isTransient, setDeleted, setDummyLease, setFlag, setHasWaitingFor, setMaybeUnderXtn, setOrder, setSCN, setTransient, setUID, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntryId, getHandback, getLockSubjectType, getNotifyType, getOrder, getRoutingValue, isShadow, setOrder, setSCN, setTransient, setUID
getClassName, getSCN, getServerTypeDesc, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isMaybeUnderXtn, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn
getUID, isLockSubject
public ReplicationEntryHolder(IEntryHolder entryHolder, XtnEntry xtnEntry)
public ReplicationEntryHolder(IEntryHolder newEntryGeneration, ShadowEntryHolder activeEntry, 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.