Class TestProcedureRecovery.BaseTestStepProcedure
java.lang.Object
org.apache.hadoop.hbase.procedure2.Procedure<TEnvironment>
org.apache.hadoop.hbase.procedure2.SequentialProcedure<TestProcedureRecovery.TestProcEnv>
org.apache.hadoop.hbase.procedure2.TestProcedureRecovery.BaseTestStepProcedure
- All Implemented Interfaces:
Comparable<org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>>
- Direct Known Subclasses:
TestProcedureRecovery.TestMultiStepProcedure
,TestProcedureRecovery.TestMultiStepProcedure.Step1Procedure
,TestProcedureRecovery.TestMultiStepProcedure.Step2Procedure
- Enclosing class:
- TestProcedureRecovery
public static class TestProcedureRecovery.BaseTestStepProcedure
extends org.apache.hadoop.hbase.procedure2.SequentialProcedure<TestProcedureRecovery.TestProcEnv>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.procedure2.Procedure
org.apache.hadoop.hbase.procedure2.Procedure.LockState
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.procedure2.Procedure
NO_PROC_ID, NO_TIMEOUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected org.apache.hadoop.hbase.procedure2.Procedure[]
private boolean
protected void
Methods inherited from class org.apache.hadoop.hbase.procedure2.SequentialProcedure
deserializeStateData, doExecute, doRollback, serializeStateData
Methods inherited from class org.apache.hadoop.hbase.procedure2.Procedure
acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doAcquireLock, doReleaseLock, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, getProcedureMetrics, getProcId, getProcIdHashCode, getProcName, getResult, getRootProcedureId, getRootProcId, getStackIndexes, getState, getSubmittedTime, getTimeout, getTimeoutTimestamp, hasChildren, hasException, hasLock, hasOwner, hasParent, hasTimeout, haveSameParent, holdLock, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRollbackSupported, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, lockedWhenLoading, needPersistence, releaseLock, removeStackIndex, resetPersistence, restoreLock, setAbortFailure, setChildrenLatch, setExecuted, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, suspend, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
-
Field Details
-
abort
-
step
-
-
Constructor Details
-
BaseTestStepProcedure
public BaseTestStepProcedure()
-
-
Method Details
-
execute
protected org.apache.hadoop.hbase.procedure2.Procedure[] execute(TestProcedureRecovery.TestProcEnv env) throws InterruptedException - Specified by:
execute
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
- Throws:
InterruptedException
-
rollback
- Specified by:
rollback
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
-
abort
- Specified by:
abort
in classorg.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
-
isAborted
-