public static class ProcedureTestingUtility.NoopStateMachineProcedure<TEnv,TState> extends org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TEnv,TState>
Modifier and Type | Field and Description |
---|---|
private TEnv |
env |
private TState |
initialState |
Constructor and Description |
---|
NoopStateMachineProcedure() |
NoopStateMachineProcedure(TEnv env,
TState initialState) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow |
executeFromState(TEnv env,
TState tState) |
protected TState |
getInitialState() |
protected TState |
getState(int stateId) |
protected int |
getStateId(TState tState) |
protected void |
rollbackState(TEnv env,
TState tState) |
abort, addChildProcedure, deserializeStateData, execute, failIfAborted, getCurrentState, getCurrentStateId, getCycles, isEofState, isRollbackSupported, 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
private TState initialState
public NoopStateMachineProcedure()
public NoopStateMachineProcedure(TEnv env, TState initialState)
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow executeFromState(TEnv env, TState tState) throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, org.apache.hadoop.hbase.procedure2.ProcedureYieldException, InterruptedException
executeFromState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TEnv,TState>
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
InterruptedException
protected void rollbackState(TEnv env, TState tState) throws IOException, InterruptedException
rollbackState
in class org.apache.hadoop.hbase.procedure2.StateMachineProcedure<TEnv,TState>
IOException
InterruptedException
protected int getStateId(TState tState)
protected TState getInitialState()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.