public static interface RegionMergeTransaction.TransactionListener
Modifier and Type | Method and Description |
---|---|
void |
rollback(RegionMergeTransaction transaction,
RegionMergeTransaction.RegionMergeTransactionPhase from,
RegionMergeTransaction.RegionMergeTransactionPhase to)
Invoked when rolling back a transaction from one transaction phase to the
previous
|
void |
transition(RegionMergeTransaction transaction,
RegionMergeTransaction.RegionMergeTransactionPhase from,
RegionMergeTransaction.RegionMergeTransactionPhase to)
Invoked when transitioning forward from one transaction phase to another
|
void transition(RegionMergeTransaction transaction, RegionMergeTransaction.RegionMergeTransactionPhase from, RegionMergeTransaction.RegionMergeTransactionPhase to) throws IOException
transaction
- the transactionfrom
- the current phaseto
- the next phaseIOException
- listener can throw this to abortvoid rollback(RegionMergeTransaction transaction, RegionMergeTransaction.RegionMergeTransactionPhase from, RegionMergeTransaction.RegionMergeTransactionPhase to)
transaction
- the transactionfrom
- the current phaseto
- the previous phase