public static class TestProcedureReplayOrder.TestTwoStepProcedure extends SequentialProcedure<org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv>
Constructor and Description |
---|
TestTwoStepProcedure() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
The abort() call is asynchronous and each procedure must decide how to deal
with that, if they want to be abortable.
|
protected boolean |
acquireLock(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
The user should override this method, and try to take a lock if necessary.
|
protected Procedure[] |
execute(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
The main code of the procedure.
|
protected void |
rollback(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
The code to undo what done by the execute() code.
|
deserializeStateData, doExecute, doRollback, serializeStateData
addStackIndex, beforeReplay, childrenCountDown, compareTo, completionCleanup, convert, convert, createProcedureInfo, elapsedTime, getException, getLastUpdate, getOwner, getParentProcId, getProcId, getResult, getRootProcedureId, getStackIndexes, getStartTime, getState, getTimeout, getTimeRemaining, hasException, hasOwner, hasParent, hasTimeout, incChildrenLatch, isFailed, isFinished, isSuccess, isWaiting, newInstance, releaseLock, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setOwner, setParentProcId, setProcId, setResult, setStackIndexes, setStartTime, setState, setTimeout, setTimeoutFailure, toString, toStringClass, toStringClassDetails, updateTimestamp, validateClass, wasExecuted
protected Procedure[] execute(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
Procedure
protected boolean acquireLock(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
Procedure
acquireLock
in class Procedure<org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv>
protected void rollback(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
Procedure
protected boolean abort(org.apache.hadoop.hbase.procedure2.TestProcedureReplayOrder.TestProcedureEnv env)
Procedure