public static class TestStateMachineProcedure.TestSMProcedure extends org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TestStateMachineProcedure.TestProcEnv,TestStateMachineProcedure.TestSMProcedureState>
Constructor and Description |
---|
TestSMProcedure() |
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 boolean |
isRollbackSupported(TestStateMachineProcedure.TestSMProcedureState state) |
protected void |
rollbackState(TestStateMachineProcedure.TestProcEnv env,
TestStateMachineProcedure.TestSMProcedureState state) |
abort, addChildProcedure, deserializeStateData, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, isYieldAfterExecutionStep, isYieldBeforeExecuteFromState, rollback, 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 TestSMProcedure()
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 boolean isRollbackSupported(TestStateMachineProcedure.TestSMProcedureState state)
isRollbackSupported
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>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.