@Configuration @EnableStateMachineFactory public class ContainerClusterStateMachineConfiguration extends EnumStateMachineConfigurerAdapter<ClusterState,ClusterEvent>
AbstractContainerClusterAppmaster
.Constructor and Description |
---|
ContainerClusterStateMachineConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClusterAllocatingAction |
clusterAllocatingAction() |
ClusterDestroyingAction |
clusterDestroyingAction() |
ClusterStoppingAction |
clusterStoppingAction() |
void |
configure(StateMachineStateConfigurer<ClusterState,ClusterEvent> states) |
void |
configure(StateMachineTransitionConfigurer<ClusterState,ClusterEvent> transitions) |
configure, getStateMachineStateBuilder, getStateMachineTransitionBuilder, init, isAssignable
public ContainerClusterStateMachineConfiguration()
public void configure(StateMachineStateConfigurer<ClusterState,ClusterEvent> states) throws java.lang.Exception
configure
in interface StateMachineConfigurer<ClusterState,ClusterEvent>
configure
in class StateMachineConfigurerAdapter<ClusterState,ClusterEvent>
java.lang.Exception
public void configure(StateMachineTransitionConfigurer<ClusterState,ClusterEvent> transitions) throws java.lang.Exception
configure
in interface StateMachineConfigurer<ClusterState,ClusterEvent>
configure
in class StateMachineConfigurerAdapter<ClusterState,ClusterEvent>
java.lang.Exception
@Bean public ClusterAllocatingAction clusterAllocatingAction()
@Bean public ClusterStoppingAction clusterStoppingAction()
@Bean public ClusterDestroyingAction clusterDestroyingAction()