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