public static class TestProcedureRecovery.BaseTestStepProcedure extends org.apache.hadoop.hbase.procedure2.SequentialProcedure<TestProcedureRecovery.TestProcEnv>
Modifier and Type | Field and Description |
---|---|
private AtomicBoolean |
abort |
private int |
step |
Constructor and Description |
---|
BaseTestStepProcedure() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
abort(TestProcedureRecovery.TestProcEnv env) |
protected org.apache.hadoop.hbase.procedure2.Procedure[] |
execute(TestProcedureRecovery.TestProcEnv env) |
private boolean |
isAborted() |
protected void |
rollback(TestProcedureRecovery.TestProcEnv env) |
deserializeStateData, doExecute, doRollback, serializeStateData
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, isRunnable, isSuccess, isWaiting, isYieldAfterExecutionStep, lockedWhenLoading, needPersistence, releaseLock, removeStackIndex, resetPersistence, restoreLock, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, setNonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringClassDetails, toStringDetails, toStringSimpleSB, toStringState, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
private AtomicBoolean abort
private int step
public BaseTestStepProcedure()
protected org.apache.hadoop.hbase.procedure2.Procedure[] execute(TestProcedureRecovery.TestProcEnv env) throws InterruptedException
execute
in class org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
InterruptedException
protected void rollback(TestProcedureRecovery.TestProcEnv env)
rollback
in class org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
protected boolean abort(TestProcedureRecovery.TestProcEnv env)
abort
in class org.apache.hadoop.hbase.procedure2.Procedure<TestProcedureRecovery.TestProcEnv>
private boolean isAborted()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.