Package org.multiverse.commitbarriers
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
extra
private final int extra
-
-
Constructor Details
-
RestorePartiesCompensatingTask
RestorePartiesCompensatingTask(int extra)
-
-
Method Details
-
notify
Description copied from interface:TxnListener
- Specified by:
notify
in interfaceTxnListener
- Parameters:
tx
- theTxn
where the event happenedevent
- the event
-