Uses of Enum
org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.DatanodeStates
Packages that use DatanodeStateMachine.DatanodeStates
Package
Description
State machine class is used by the container to denote various states a
container can be in and also is used for command processing.
This package contains files that guide the state transitions
from Init->Running->Shutdown for the datanode.
-
Uses of DatanodeStateMachine.DatanodeStates in org.apache.hadoop.ozone.container.common.statemachine
Methods in org.apache.hadoop.ozone.container.common.statemachine that return DatanodeStateMachine.DatanodeStatesModifier and TypeMethodDescriptionDatanodeStateMachine.DatanodeStates.getInitState()Returns the first State.DatanodeStateMachine.DatanodeStates.getLastState()The last state of endpoint states.DatanodeStateMachine.DatanodeStates.getNextState()Returns the next logical state that endPoint should move to.StateContext.getState()Returns the current state the machine is in.Returns the enum constant of this type with the specified name.static DatanodeStateMachine.DatanodeStates[]DatanodeStateMachine.DatanodeStates.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.hadoop.ozone.container.common.statemachine that return types with arguments of type DatanodeStateMachine.DatanodeStatesModifier and TypeMethodDescriptionStateContext.getTask()Returns the next task to get executed by the datanode state machine.Methods in org.apache.hadoop.ozone.container.common.statemachine with parameters of type DatanodeStateMachine.DatanodeStatesModifier and TypeMethodDescriptionbooleanDatanodeStateMachine.DatanodeStates.isTransitionAllowedTo(DatanodeStateMachine.DatanodeStates newState) voidStateContext.setState(DatanodeStateMachine.DatanodeStates state) Sets the current state of the machine.Constructors in org.apache.hadoop.ozone.container.common.statemachine with parameters of type DatanodeStateMachine.DatanodeStatesModifierConstructorDescriptionStateContext(org.apache.hadoop.hdds.conf.ConfigurationSource conf, DatanodeStateMachine.DatanodeStates state, DatanodeStateMachine parent, String threadNamePrefix) Constructs a StateContext. -
Uses of DatanodeStateMachine.DatanodeStates in org.apache.hadoop.ozone.container.common.states.datanode
Methods in org.apache.hadoop.ozone.container.common.states.datanode that return DatanodeStateMachine.DatanodeStatesModifier and TypeMethodDescriptionWait for execute to finish.Wait for execute to finish.InitDatanodeState.call()Computes a result, or throws an exception if unable to do so.