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, getExternalLockObject, getOriginalEntryHolder, getOtherUpdateUnderXtnEntry, getReadLockOwners, getTemplatesWaitingForEntry, getTxnEntryData, getUidToOperateBy, getWriteLockOperation, getWriteLockOwner, getWriteLockTransaction, getXidOriginated, getXidOriginatedTransaction, isEntryUnderWriteLockXtn, isExpired, isExpired, isHasWaitingFor, isSameEntryInstance, 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, hasShadow, isDeleted, isLockSubject, isMaybeUnderXtn, isTransient, setDeleted, setMaybeUnderXtn, setOrder, setSCN, setUID, toString, toText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntryId, getHandback, getNotifyType, getOrder, getRoutingValue, hasShadow, setOrder, setSCN, setUID
getClassName, getSCN, getServerTypeDesc, isDeleted, isMaybeUnderXtn, isTransient, setDeleted, setMaybeUnderXtn
isLockSubject
getUID
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 isOffHeapEntry()
isOffHeapEntry
in interface IEntryHolder
isOffHeapEntry
in interface ILeasedEntryCacheInfo
isOffHeapEntry
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.