Class XtnEntry

All Implemented Interfaces:
ISimpleLock

public class XtnEntry extends XtnInfo
  • Field Details

    • _xtnData

      public final transient XtnData _xtnData
  • Constructor Details

    • XtnEntry

      public XtnEntry(ServerTransaction xtn, boolean isBackup)
      Constructs a new Xtn Entry.
  • Method Details

    • getJoinLock

      public Object getJoinLock()
    • isActive

      public boolean isActive()
      Returns true is new operations can still attach to this transaction, false otherwise (transaction was already committed for example)
      Returns:
      true if XtnStatus UNINITIALIZED or BEGUN else false
    • checkAndGetState_Granular

      public XtnStatus checkAndGetState_Granular()
    • getXtnData

      public XtnData getXtnData()
    • anyFifoEntriesUnderXtn

      public boolean anyFifoEntriesUnderXtn()
    • getNumOfChangesUnderTransaction

      public int getNumOfChangesUnderTransaction(CacheManager cacheManager)
    • getAllowFifoNotificationsForNonFifoEntries

      public FifoBackgroundRequest.AllowFifoNotificationsForNonFifoType getAllowFifoNotificationsForNonFifoEntries()
    • createdOnNonBackup

      public boolean createdOnNonBackup()
    • getMVCCGenerationsState

      public MVCCGenerationsState getMVCCGenerationsState()
    • setMVCCGenerationsState

      public void setMVCCGenerationsState(MVCCGenerationsState mvccGenerationsState)
    • applyMVCCGenerationStateFromContext

      public void applyMVCCGenerationStateFromContext(SpaceContext sc)
    • isMvccRevertGenerationTxn

      public boolean isMvccRevertGenerationTxn()
    • setMvccRevertGenerationTxn

      public void setMvccRevertGenerationTxn(boolean isMvccRevertGenerationTxn)