Interface IAsyncTransaction

    • Method Detail

      • asyncPrepareCommit

        void asyncPrepareCommit​(CountedCompleter<?> sync,
                                IEpoch epoch)
        Prepares this transaction for committing.
        Parameters:
        epoch - the commit's epoch
      • asyncCommit

        void asyncCommit​(CountedCompleter<?> sync,
                         IEpoch epoch)
        Commits this transaction into the base version.
        Parameters:
        epoch - the commit's epoch
      • asyncRollback

        void asyncRollback​(CountedCompleter<?> sync)
        Rolls the transaction back.

        This transaction object cannot be re-used after being rolled back.