Interface ITransactionalEntryData
- All Superinterfaces:
IEntryData,MutableServerEntry,ServerEntry
- All Known Subinterfaces:
IBinaryEntryData
- All Known Implementing Classes:
AbstractVersionedEntryData,FlatEntryData,HybridEntryData,MutableViewHybridEntryData,UserTypeEntryData
Contains all the data (mutable) fields of the entry. when an entry is changed a new IEntryData is
created and attached to the IEntryHolder.
- Since:
- 7.0
- Author:
- Yechiel Fefer, Niv Ingberg
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddReadLockOwner(XtnEntry xtn) default booleandefault voiddefault EntryXtnInfocopyTxnInfo(boolean cloneXtnInfo, boolean createEmptyTxnInfoIfNon) createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData) createCopy(IEntryData newEntryData, long newExpirationTime) default ITransactionalEntryDatadefault ITransactionalEntryDatadefault ITransactionalEntryDatadefault ITransactionalEntryDatacreateCopyWithoutTxnInfo(long newExpirationTime) default ITransactionalEntryDatadefault ITransactionalEntryDatacreateCopyWithTxnInfo(boolean createEmptyTxnInfo) default ITransactionalEntryDatacreateCopyWithTxnInfo(int newVersion, long newExpirationTime) default ITransactionalEntryDatacreateShallowClonedCopyWithSuppliedVersion(int versionID) default ITransactionalEntryDatacreateShallowClonedCopyWithSuppliedVersionAndExpiration(int versionID, long expirationTime) default voiddeepCloneProperty(String rootPropertyName) default IEntryHolderdefault Collection<ITemplateHolder>default intdefault XtnEntrydefault ServerTransactiondefault XtnEntrydefault ServerTransactiondefault voiddefault booleandefault booleanisExpired(long limit) default voidvoidsetDynamicPropertyValue(String propertyName, Object value) default voiddefault voidsetPathValue(String path, Object value) Sets the specified path's valuedefault voidsetWriteLockOperation(int writeLockOperation) default voidsetWriteLockOwner(XtnEntry writeLockOwner) default voidsetXidOriginated(XtnEntry xidOriginated) default voidthrowChangeIdException(String propertyName, Object value) default voidunsetDynamicPropertyValue(String propertyName) default voidUnsets the specified path.default voidvalidateCanSetNull(String path, int pos, SpacePropertyDescriptor fixedProperty) Methods inherited from interface com.gigaspaces.internal.server.storage.IEntryData
getDynamicProperties, getEntryDataType, getEntryTypeDesc, getFixedPropertiesValues, getNumOfFixedProperties, getPathValue, getPropertyValue, getSpaceTypeDescriptor, getTimeToLive, isDummyLease, isHybrid, isView, setDynamicProperties, setFixedPropertyValue, setFixedPropertyValues, setVersionMethods inherited from interface com.gigaspaces.server.ServerEntry
getExpirationTime, getFixedPropertyValue, getVersion
-
Method Details
-
getEntryXtnInfo
EntryXtnInfo getEntryXtnInfo() -
createCopy
ITransactionalEntryData createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData) -
createCopy
-
createCopyWithoutTxnInfo
-
createCopyWithoutTxnInfo
-
createCopyWithTxnInfo
-
createCopyWithTxnInfo
-
createCopyWithSuppliedTxnInfo
-
createShallowClonedCopyWithSuppliedVersion
-
createShallowClonedCopyWithSuppliedVersionAndExpiration
default ITransactionalEntryData createShallowClonedCopyWithSuppliedVersionAndExpiration(int versionID, long expirationTime) -
createCopyWithDummyTieredStorageTxnInfo
-
createCopyWithDummyTieredStorageTxnContainsOtherWriteLockOwner
default ITransactionalEntryData createCopyWithDummyTieredStorageTxnContainsOtherWriteLockOwner(EntryXtnInfo other) -
setPathValue
Description copied from interface:MutableServerEntrySets the specified path's value- Specified by:
setPathValuein interfaceMutableServerEntry- Parameters:
path- Path pointing to the requested property.value- Value to set.
-
unsetPath
Description copied from interface:MutableServerEntryUnsets the specified path. If the path points to a dynamic property or a map key it will be removed, if it points to a fixed property it will be set to null, in that case, the target path must point to a nullable property otherwise an error will occur.- Specified by:
unsetPathin interfaceMutableServerEntry- Parameters:
path- Path pointing to the requested property.
-
setDynamicPropertyValue
-
unsetDynamicPropertyValue
-
validateCanSetNull
-
throwChangeIdException
-
deepCloneProperty
-
anyReadLockXtn
default boolean anyReadLockXtn() -
getReadLocksOwners
-
addReadLockOwner
-
removeReadLockOwner
-
clearReadLockOwners
default void clearReadLockOwners() -
getWriteLockOwner
-
setWriteLockOwner
-
getWriteLockOperation
default int getWriteLockOperation() -
setWriteLockOperation
default void setWriteLockOperation(int writeLockOperation) -
getWriteLockTransaction
-
getOtherUpdateUnderXtnEntry
-
setOtherUpdateUnderXtnEntry
-
getXidOriginated
-
setXidOriginated
-
getXidOriginatedTransaction
-
copyTxnInfo
-
getWaitingFor
-
initWaitingFor
default void initWaitingFor() -
isExpired
default boolean isExpired() -
isExpired
default boolean isExpired(long limit)
-