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 java.lang.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 Modifier and Type Field Description private int
extra
-
Constructor Summary
Constructors Constructor Description RestorePartiesCompensatingTask(int extra)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(Txn tx, TxnEvent event)
-
-
-
Method Detail
-
notify
public void notify(Txn tx, TxnEvent event)
Description copied from interface:TxnListener
- Specified by:
notify
in interfaceTxnListener
- Parameters:
tx
- theTxn
where the event happenedevent
- the event
-
-