Package com.j_spaces.core.cache.mvcc
Class MVCCEntryHolder
java.lang.Object
com.gigaspaces.internal.server.storage.AbstractSpaceItem
com.gigaspaces.internal.server.storage.EntryHolder
com.j_spaces.core.cache.mvcc.MVCCEntryHolder
- All Implemented Interfaces:
IEntryHolder,ISpaceItem,Textualizable,ILockObject,IMVCCLockObject
-
Constructor Summary
ConstructorsModifierConstructorDescriptionMVCCEntryHolder(IServerTypeDesc typeDesc, String uid, long scn, boolean isTransient, ITransactionalEntryData entryData) MVCCEntryHolder(IServerTypeDesc typeDesc, String uid, long scn, IEntryPacket entryPacket, ITransactionalEntryData entryData) protectedMVCCEntryHolder(MVCCEntryHolder other) -
Method Summary
Modifier and TypeMethodDescriptioncreateLogicallyDeletedDummyEntry(EntryXtnInfo entryXtnInfo) longintlongbooleanbooleanvoidsetCommittedGeneration(long committedGeneration) voidsetLogicallyDeleted(boolean logicallyDeleted) voidsetOverrideGeneration(long overrideGeneration) voidsetOverridingAnother(boolean overridingAnother) voidsetVersion(int version) voidtoText(Textualizer textualizer) Methods inherited from class com.gigaspaces.internal.server.storage.EntryHolder
addReadLockOwner, addTemplateWaitingForEntry, anyReadLockXtn, clearReadLockOwners, createDummy, dump, getCopyOfTemplatesWaitingForEntry, getEntryData, getMaster, getOriginalEntryHolder, getOtherUpdateUnderXtnEntry, getReadLockOwners, getShadow, 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, updateVersionAndExpirationMethods inherited from class com.gigaspaces.internal.server.storage.AbstractSpaceItem
getClassName, getEntryId, getExpirationTime, getFlag, getHandback, getNotifyType, getOrder, getRoutingValue, getSCN, getServerTypeDesc, getUID, getVersionID, hasShadow, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isLockSubject, isMaybeUnderXtn, isShadow, isTransient, setDeleted, setDummyLease, setFlag, setHasWaitingFor, setMaybeUnderXtn, setOrder, setSCN, setTransient, setUID, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.server.storage.IEntryHolder
getEntryId, getHandback, getLockSubjectType, getNotifyType, getOrder, getRoutingValue, hasShadow, isShadow, setOrder, setSCN, setTransient, setUIDMethods inherited from interface com.j_spaces.kernel.locks.ILockObject
getUID, isLockSubjectMethods inherited from interface com.gigaspaces.internal.server.storage.ISpaceItem
getClassName, getSCN, getServerTypeDesc, hasWaitingFor, isDeleted, isDummyLease, isDummyLeaseAndNotExpired, isMaybeUnderXtn, isTransient, setDeleted, setDummyLease, setHasWaitingFor, setMaybeUnderXtn
-
Constructor Details
-
MVCCEntryHolder
public MVCCEntryHolder(IServerTypeDesc typeDesc, String uid, long scn, boolean isTransient, ITransactionalEntryData entryData) -
MVCCEntryHolder
public MVCCEntryHolder(IServerTypeDesc typeDesc, String uid, long scn, IEntryPacket entryPacket, ITransactionalEntryData entryData) -
MVCCEntryHolder
-
-
Method Details
-
createCopy
- Specified by:
createCopyin interfaceIEntryHolder- Overrides:
createCopyin classEntryHolder
-
createLogicallyDeletedDummyEntry
-
getLockedObjectHashCode
public int getLockedObjectHashCode()- Specified by:
getLockedObjectHashCodein interfaceIMVCCLockObject
-
getCommittedGeneration
public long getCommittedGeneration() -
setCommittedGeneration
public void setCommittedGeneration(long committedGeneration) -
getOverrideGeneration
public long getOverrideGeneration() -
setOverrideGeneration
public void setOverrideGeneration(long overrideGeneration) -
isOverridingAnother
public boolean isOverridingAnother() -
setOverridingAnother
public void setOverridingAnother(boolean overridingAnother) -
isLogicallyDeleted
public boolean isLogicallyDeleted() -
setLogicallyDeleted
public void setLogicallyDeleted(boolean logicallyDeleted) -
setVersion
public void setVersion(int version) -
toText
- Specified by:
toTextin interfaceTextualizable- Overrides:
toTextin classAbstractSpaceItem
-