public class ShadowEntryHolder extends EntryHolder implements ILeasedEntryCacheInfo
Constructor and Description |
---|
ShadowEntryHolder(IEntryHolder master,
ArrayList<IObjectInfo<IEntryCacheInfo>> backRefs,
int[] backrefIndexPos,
IStoredList<Object> leaseManagerListRef,
IObjectInfo<Object> leaseManagerPosRef) |
addReadLockOwner, addTemplateWaitingForEntry, anyReadLockXtn, clearReadLockOwners, createCopy, createDummy, dump, getCopyOfTemplatesWaitingForEntry, getEntryData, getOriginalEntryHolder, getOtherUpdateUnderXtnEntry, getReadLockOwners, getTemplatesWaitingForEntry, getTxnEntryData, getUidToOperateBy, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, isEntryUnderWriteLockXtn, isExpired, isExpired, isHollowEntry, isSameEntryInstance, 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, hasShadow, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isLockSubject, isMaybeUnderXtn, 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, hasShadow, setOrder, setSCN, setTransient, setUID
getClassName, getSCN, getServerTypeDesc, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isMaybeUnderXtn, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn
getUID, isLockSubject
public ShadowEntryHolder(IEntryHolder master, ArrayList<IObjectInfo<IEntryCacheInfo>> backRefs, int[] backrefIndexPos, IStoredList<Object> leaseManagerListRef, IObjectInfo<Object> leaseManagerPosRef)
public ArrayList<IObjectInfo<IEntryCacheInfo>> getBackRefs()
public void setShadowBackRefs(ArrayList<IObjectInfo<IEntryCacheInfo>> backRefs)
public int[] getBackrefIndexPos()
public void setBackrefIndexPos(int[] val)
public boolean isShadow()
AbstractSpaceItem
isShadow
in interface IEntryHolder
isShadow
in class AbstractSpaceItem
public boolean hasShadow(boolean safeEntry)
hasShadow
in interface IEntryHolder
hasShadow
in class EntryHolder
public ShadowEntryHolder getShadow()
getShadow
in interface IEntryHolder
getShadow
in class EntryHolder
public IEntryHolder getMaster()
getMaster
in interface IEntryHolder
getMaster
in class EntryHolder
public boolean isUnderPendingUpdate()
isUnderPendingUpdate
in class EntryHolder
public void setLeaseManagerListRefAndPosition(IStoredList<Object> entriesList, IObjectInfo<Object> entryPos)
setLeaseManagerListRefAndPosition
in interface ILeasedEntryCacheInfo
public IStoredList<Object> getLeaseManagerListRef()
getLeaseManagerListRef
in interface ILeasedEntryCacheInfo
public IObjectInfo<Object> getLeaseManagerPosition()
getLeaseManagerPosition
in interface ILeasedEntryCacheInfo
public boolean isConnectedToLeaseManager()
isConnectedToLeaseManager
in interface ILeasedEntryCacheInfo
public boolean isSameLeaseManagerRef(ILeasedEntryCacheInfo other)
isSameLeaseManagerRef
in interface ILeasedEntryCacheInfo
public boolean isBlobStoreEntry()
isBlobStoreEntry
in interface IEntryHolder
isBlobStoreEntry
in interface ILeasedEntryCacheInfo
isBlobStoreEntry
in class EntryHolder
public Object getObjectStoredInLeaseManager()
getObjectStoredInLeaseManager
in interface ILeasedEntryCacheInfo
public void incrementNumOfLeaseUpdates()
public int getNumOfLeaseUpdates()
public void resetNumOfIndexesUpdated()
public void incrementNumOfIndexesUpdated()
public int getNumOfIndexesUpdated()
public void incrementNumOfUpdates()
public int getNumOfUpdates()
Copyright © GigaSpaces.