Interface ITransactionalEntryData

All Superinterfaces:
IEntryData, MutableServerEntry, ServerEntry
All Known Subinterfaces:
IBinaryEntryData
All Known Implementing Classes:
AbstractVersionedEntryData, FlatEntryData, HybridEntryData, MutableViewHybridEntryData, UserTypeEntryData

public interface ITransactionalEntryData extends IEntryData, MutableServerEntry
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 Details

    • getEntryXtnInfo

      EntryXtnInfo getEntryXtnInfo()
    • createCopy

      ITransactionalEntryData createCopy(int newVersion, long newExpiration, EntryXtnInfo newEntryXtnInfo, boolean shallowCloneData)
    • createCopy

      ITransactionalEntryData createCopy(IEntryData newEntryData, long newExpirationTime)
    • createCopyWithoutTxnInfo

      default ITransactionalEntryData createCopyWithoutTxnInfo()
    • createCopyWithoutTxnInfo

      default ITransactionalEntryData createCopyWithoutTxnInfo(long newExpirationTime)
    • createCopyWithTxnInfo

      default ITransactionalEntryData createCopyWithTxnInfo(boolean createEmptyTxnInfo)
    • createCopyWithTxnInfo

      default ITransactionalEntryData createCopyWithTxnInfo(int newVersion, long newExpirationTime)
    • createCopyWithSuppliedTxnInfo

      default ITransactionalEntryData createCopyWithSuppliedTxnInfo(EntryXtnInfo ex)
    • createShallowClonedCopyWithSuppliedVersion

      default ITransactionalEntryData createShallowClonedCopyWithSuppliedVersion(int versionID)
    • createShallowClonedCopyWithSuppliedVersionAndExpiration

      default ITransactionalEntryData createShallowClonedCopyWithSuppliedVersionAndExpiration(int versionID, long expirationTime)
    • createCopyWithDummyTieredStorageTxnInfo

      default ITransactionalEntryData createCopyWithDummyTieredStorageTxnInfo()
    • createCopyWithDummyTieredStorageTxnContainsOtherWriteLockOwner

      default ITransactionalEntryData createCopyWithDummyTieredStorageTxnContainsOtherWriteLockOwner(EntryXtnInfo other)
    • setPathValue

      default void setPathValue(String path, Object value)
      Description copied from interface: MutableServerEntry
      Sets the specified path's value
      Specified by:
      setPathValue in interface MutableServerEntry
      Parameters:
      path - Path pointing to the requested property.
      value - Value to set.
    • unsetPath

      default void unsetPath(String path)
      Description copied from interface: MutableServerEntry
      Unsets 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:
      unsetPath in interface MutableServerEntry
      Parameters:
      path - Path pointing to the requested property.
    • setDynamicPropertyValue

      void setDynamicPropertyValue(String propertyName, Object value)
    • unsetDynamicPropertyValue

      default void unsetDynamicPropertyValue(String propertyName)
    • validateCanSetNull

      default void validateCanSetNull(String path, int pos, SpacePropertyDescriptor fixedProperty)
    • throwChangeIdException

      default void throwChangeIdException(String propertyName, Object value)
    • deepCloneProperty

      default void deepCloneProperty(String rootPropertyName)
    • anyReadLockXtn

      default boolean anyReadLockXtn()
    • getReadLocksOwners

      default List<XtnEntry> getReadLocksOwners()
    • addReadLockOwner

      default void addReadLockOwner(XtnEntry xtn)
    • removeReadLockOwner

      default void removeReadLockOwner(XtnEntry xtn)
    • clearReadLockOwners

      default void clearReadLockOwners()
    • getWriteLockOwner

      default XtnEntry getWriteLockOwner()
    • setWriteLockOwner

      default void setWriteLockOwner(XtnEntry writeLockOwner)
    • getWriteLockOperation

      default int getWriteLockOperation()
    • setWriteLockOperation

      default void setWriteLockOperation(int writeLockOperation)
    • getWriteLockTransaction

      default ServerTransaction getWriteLockTransaction()
    • getOtherUpdateUnderXtnEntry

      default IEntryHolder getOtherUpdateUnderXtnEntry()
    • setOtherUpdateUnderXtnEntry

      default void setOtherUpdateUnderXtnEntry(IEntryHolder eh)
    • getXidOriginated

      default XtnEntry getXidOriginated()
    • setXidOriginated

      default void setXidOriginated(XtnEntry xidOriginated)
    • getXidOriginatedTransaction

      default ServerTransaction getXidOriginatedTransaction()
    • copyTxnInfo

      default EntryXtnInfo copyTxnInfo(boolean cloneXtnInfo, boolean createEmptyTxnInfoIfNon)
    • getWaitingFor

      default Collection<ITemplateHolder> getWaitingFor()
    • initWaitingFor

      default void initWaitingFor()
    • isExpired

      default boolean isExpired()
    • isExpired

      default boolean isExpired(long limit)