public class EntryHolder extends AbstractSpaceItem implements IEntryHolder
MarshalledObject
form).Modifier | Constructor and Description |
---|---|
protected |
EntryHolder(IEntryHolder other) |
|
EntryHolder(IServerTypeDesc typeDesc,
String uid,
long scn,
boolean isTransient,
ITransactionalEntryData entryData) |
getClassName, getEntryId, getEvictableLockObject, getExpirationTime, getHandback, getNotifyType, getOrder, getRoutingValue, getSCN, getServerTypeDesc, getUID, getVersionID, hasShadow, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isLockSubject, isMaybeUnderXtn, isShadow, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn, setOrder, setSCN, setTransient, setUID, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntryId, getHandback, getLockSubjectType, getNotifyType, getOrder, getRoutingValue, hasShadow, isShadow, setOrder, setSCN, setTransient, setUID
getClassName, getSCN, getServerTypeDesc, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isMaybeUnderXtn, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn
isLockSubject
getUID
public EntryHolder(IServerTypeDesc typeDesc, String uid, long scn, boolean isTransient, ITransactionalEntryData entryData)
protected EntryHolder(IEntryHolder other)
public IEntryHolder createCopy()
createCopy
in interface IEntryHolder
public IEntryHolder createDummy()
createDummy
in interface IEntryHolder
public boolean isUnstable()
isUnstable
in interface IEntryHolder
public void setunStable(boolean value)
setunStable
in interface IEntryHolder
public IEntryData getEntryData()
getEntryData
in interface ISpaceItem
public ITransactionalEntryData getTxnEntryData()
getTxnEntryData
in interface IEntryHolder
public void updateVersionAndExpiration(int versionID, long expiration)
updateVersionAndExpiration
in interface ISpaceItem
public void updateEntryData(IEntryData newEntryData, long expirationTime)
updateEntryData
in interface IEntryHolder
public void setExpirationTime(long expirationTime)
setExpirationTime
in interface ISpaceItem
setExpirationTime
in class AbstractSpaceItem
public void resetEntryXtnInfo()
resetEntryXtnInfo
in interface IEntryHolder
public void resetWriteLockOwner()
resetWriteLockOwner
in interface IEntryHolder
public void setWriteLockOwnerAndOperation(XtnEntry writeLockOwner, int writeLockOperation)
setWriteLockOwnerAndOperation
in interface IEntryHolder
public void setWriteLockOwnerAndOperation(XtnEntry writeLockOwner, int writeLockOperation, boolean createSnapshot)
setWriteLockOwnerAndOperation
in interface IEntryHolder
public void setWriteLockOwnerOperationAndShadow(XtnEntry writeLockOwner, int writeLockOperation, IEntryHolder otherEh)
setWriteLockOwnerOperationAndShadow
in interface IEntryHolder
public void restoreUpdateXtnRollback(IEntryData entryData)
restoreUpdateXtnRollback
in interface IEntryHolder
public void setWriteLockOperation(int writeLockOperation, boolean createSnapshot)
setWriteLockOperation
in interface IEntryHolder
public void resetXidOriginated()
resetXidOriginated
in interface IEntryHolder
public XtnEntry getXidOriginated()
getXidOriginated
in interface ISpaceItem
public ServerTransaction getXidOriginatedTransaction()
getXidOriginatedTransaction
in interface ISpaceItem
public void setOtherUpdateUnderXtnEntry(IEntryHolder eh)
setOtherUpdateUnderXtnEntry
in interface IEntryHolder
public boolean isUnderPendingUpdate()
public String getUidToOperateBy()
getUidToOperateBy
in interface ISpaceItem
public void dump(org.slf4j.Logger logger, String msg)
dump
in class AbstractSpaceItem
public boolean anyReadLockXtn()
anyReadLockXtn
in interface IEntryHolder
public List<XtnEntry> getReadLockOwners()
getReadLockOwners
in interface IEntryHolder
public void addReadLockOwner(XtnEntry xtn)
addReadLockOwner
in interface IEntryHolder
public void removeReadLockOwner(XtnEntry xtn)
removeReadLockOwner
in interface IEntryHolder
public void clearReadLockOwners()
clearReadLockOwners
in interface IEntryHolder
public XtnEntry getWriteLockOwner()
getWriteLockOwner
in interface IEntryHolder
public boolean isEntryUnderWriteLockXtn()
isEntryUnderWriteLockXtn
in interface IEntryHolder
public int getWriteLockOperation()
getWriteLockOperation
in interface IEntryHolder
public ServerTransaction getWriteLockTransaction()
getWriteLockTransaction
in interface IEntryHolder
public Collection<ITemplateHolder> getTemplatesWaitingForEntry()
getTemplatesWaitingForEntry
in interface IEntryHolder
public Collection<ITemplateHolder> getCopyOfTemplatesWaitingForEntry()
getCopyOfTemplatesWaitingForEntry
in interface IEntryHolder
public void addTemplateWaitingForEntry(ITemplateHolder template)
addTemplateWaitingForEntry
in interface IEntryHolder
public void removeTemplateWaitingForEntry(ITemplateHolder template)
removeTemplateWaitingForEntry
in interface IEntryHolder
protected IEntryHolder getOtherUpdateUnderXtnEntry()
public boolean hasShadow(boolean safeEntry)
hasShadow
in interface IEntryHolder
hasShadow
in class AbstractSpaceItem
public ShadowEntryHolder getShadow()
getShadow
in interface IEntryHolder
public IEntryHolder getMaster()
getMaster
in interface IEntryHolder
public boolean isExpired(long limit)
isExpired
in interface IEntryHolder
public boolean isExpired()
isExpired
in interface IEntryHolder
public boolean isSameEntryInstance(IEntryHolder other)
isSameEntryInstance
in interface IEntryHolder
public boolean isBlobStoreEntry()
isBlobStoreEntry
in interface IEntryHolder
public IEntryHolder getOriginalEntryHolder()
getOriginalEntryHolder
in interface IEntryHolder
public ILockObject getExternalLockObject()
ILockedSubject
getExternalLockObject
in interface ILockedSubject
public boolean isHollowEntry()
isHollowEntry
in interface IEntryHolder
Copyright © GigaSpaces.