Class CountDownCommitBarrier.RestorePartiesCompensatingTask

java.lang.Object
org.multiverse.commitbarriers.CountDownCommitBarrier.RestorePartiesCompensatingTask
All Implemented Interfaces:
TxnListener
Enclosing class:
CountDownCommitBarrier

private class CountDownCommitBarrier.RestorePartiesCompensatingTask extends Object implements TxnListener
A TransactionLifecycleListener that is responsible for restoring the the number of parties after the transaction that increased them, was aborted.
  • Field Details

    • extra

      private final int extra
  • Constructor Details

    • RestorePartiesCompensatingTask

      RestorePartiesCompensatingTask(int extra)
  • Method Details

    • notify

      public void notify(Txn tx, TxnEvent event)
      Description copied from interface: TxnListener
      Notifies that a certain TxnEvent happened inside a Txn.
      Specified by:
      notify in interface TxnListener
      Parameters:
      tx - the Txn where the event happened
      event - the event