public static class TestSplitTransactionOnCluster.MockedSplitTransaction extends SplitTransactionImpl
SplitTransactionImpl.JournalEntryImpl
SplitTransaction.JournalEntry, SplitTransaction.SplitTransactionPhase, SplitTransaction.TransactionListener
std
Constructor and Description |
---|
MockedSplitTransaction(HRegion region,
byte[] splitrow) |
Modifier and Type | Method and Description |
---|---|
boolean |
rollback(Server server,
RegionServerServices services)
Roll back a failed transaction
|
addLocation, execute, execute, getJournal, getRegionServerServices, getServer, prepare, registerTransactionListener, rollback, stepsAfterPONR, stepsAfterPONR, stepsBeforePONR
public MockedSplitTransaction(HRegion region, byte[] splitrow)
public boolean rollback(Server server, RegionServerServices services) throws IOException
SplitTransaction
rollback
in interface SplitTransaction
rollback
in class SplitTransactionImpl
server
- Hosting server instance (May be null when testing).IOException
- If thrown, rollback failed. Take drastic action.