public static class TestStateMachineProcedure.TestSMProcedureBadRollback extends org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
Constructor and Description |
---|
TestSMProcedureBadRollback() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow |
executeFromState(TestStateMachineProcedure.TestProcEnv env,
TestStateMachineProcedure.TestSMProcedureState state) |
protected TestStateMachineProcedure.TestSMProcedureState |
getInitialState() |
protected TestStateMachineProcedure.TestSMProcedureState |
getState(int stateId) |
protected int |
getStateId(TestStateMachineProcedure.TestSMProcedureState state) |
protected void |
rollback(TestStateMachineProcedure.TestProcEnv env) |
protected void |
rollbackState(TestStateMachineProcedure.TestProcEnv env,
TestStateMachineProcedure.TestSMProcedureState state) |
abort, addChildProcedure, deserializeStateData, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, isRollbackSupported, isYieldAfterExecutionStep, isYieldBeforeExecuteFromState, serializeStateData, setNextState, toStringState
acquireLock, addStackIndex, afterReplay, beforeReplay, bypass, compareTo, completionCleanup, doAcquireLock, doExecute, doReleaseLock, doRollback, 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, 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, tryRunnable, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, waitInitialized, wasExecuted
public TestSMProcedureBadRollback()
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow executeFromState(TestStateMachineProcedure.TestProcEnv env, TestStateMachineProcedure.TestSMProcedureState state)
executeFromState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
protected void rollbackState(TestStateMachineProcedure.TestProcEnv env, TestStateMachineProcedure.TestSMProcedureState state)
rollbackState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
protected TestStateMachineProcedure.TestSMProcedureState getState(int stateId)
getState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
protected int getStateId(TestStateMachineProcedure.TestSMProcedureState state)
getStateId
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
protected TestStateMachineProcedure.TestSMProcedureState getInitialState()
getInitialState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
protected void rollback(TestStateMachineProcedure.TestProcEnv env) throws IOException, InterruptedException
rollback
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
IOException
InterruptedException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.