public static class TestProcedureBypass.StuckStateMachineProcedure extends ProcedureTestingUtility.NoopStateMachineProcedure<TestProcedureBypass.TestProcEnv,TestProcedureBypass.StuckStateMachineState>
Modifier and Type | Field and Description |
---|---|
private AtomicBoolean |
stop |
Constructor and Description |
---|
StuckStateMachineProcedure() |
StuckStateMachineProcedure(TestProcedureBypass.TestProcEnv env,
TestProcedureBypass.StuckStateMachineState initialState) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow |
executeFromState(TestProcedureBypass.TestProcEnv env,
TestProcedureBypass.StuckStateMachineState tState) |
protected TestProcedureBypass.StuckStateMachineState |
getState(int stateId) |
protected int |
getStateId(TestProcedureBypass.StuckStateMachineState tState) |
getInitialState, rollbackState
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 AtomicBoolean stop
public StuckStateMachineProcedure()
public StuckStateMachineProcedure(TestProcedureBypass.TestProcEnv env, TestProcedureBypass.StuckStateMachineState initialState)
protected org.apache.hadoop.hbase.procedure2.StateMachineProcedure.Flow executeFromState(TestProcedureBypass.TestProcEnv env, TestProcedureBypass.StuckStateMachineState tState) throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, org.apache.hadoop.hbase.procedure2.ProcedureYieldException, InterruptedException
executeFromState
in class ProcedureTestingUtility.NoopStateMachineProcedure<TestProcedureBypass.TestProcEnv,TestProcedureBypass.StuckStateMachineState>
org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
org.apache.hadoop.hbase.procedure2.ProcedureYieldException
InterruptedException
protected TestProcedureBypass.StuckStateMachineState getState(int stateId)
protected int getStateId(TestProcedureBypass.StuckStateMachineState tState)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.