Interface TotalOrderPrepareCommand

    • Method Detail

      • markAsOnePhaseCommit

        void markAsOnePhaseCommit()
        marks the prepare phase as 1PC to apply immediately the modifications. It is used when the org.infinispan.commands.tx.CommitCommand is received before the org.infinispan.commands.tx.PrepareCommand.
      • markSkipWriteSkewCheck

        void markSkipWriteSkewCheck()
        it signals that the write skew check is not needed (for versioned entries). It is used when the org.infinispan.commands.tx.CommitCommand is received before the org.infinispan.commands.tx.PrepareCommand.
      • skipWriteSkewCheck

        boolean skipWriteSkewCheck()
        Returns:
        true when the write skew check is not needed.
      • getModifications

        WriteCommand[] getModifications()
        Returns:
        the modifications performed by this transaction
      • getOrCreateState

        org.infinispan.transaction.impl.TotalOrderRemoteTransactionState getOrCreateState()
        returns the TotalOrderRemoteTransactionState associated with this transaction, creating one if no one was associated to this transaction.
        Returns:
        returns the TotalOrderRemoteTransactionState associated with this transaction.