@Configuration @EnableStateMachineFactory public class ContainerClusterStateMachineConfiguration extends org.springframework.statemachine.config.EnumStateMachineConfigurerAdapter<ClusterState,ClusterEvent>
AbstractContainerClusterAppmaster
.Constructor and Description |
---|
ContainerClusterStateMachineConfiguration() |
Modifier and Type | Method and Description |
---|---|
ClusterAllocatingAction |
clusterAllocatingAction() |
ClusterDestroyingAction |
clusterDestroyingAction() |
ClusterStoppingAction |
clusterStoppingAction() |
void |
configure(org.springframework.statemachine.config.builders.StateMachineConfigurationConfigurer<ClusterState,ClusterEvent> config) |
void |
configure(org.springframework.statemachine.config.builders.StateMachineStateConfigurer<ClusterState,ClusterEvent> states) |
void |
configure(org.springframework.statemachine.config.builders.StateMachineTransitionConfigurer<ClusterState,ClusterEvent> transitions) |
public ContainerClusterStateMachineConfiguration()
public void configure(org.springframework.statemachine.config.builders.StateMachineConfigurationConfigurer<ClusterState,ClusterEvent> config) throws java.lang.Exception
configure
in interface org.springframework.statemachine.config.builders.StateMachineConfigurer<ClusterState,ClusterEvent>
configure
in class org.springframework.statemachine.config.AbstractStateMachineConfigurerAdapter<ClusterState,ClusterEvent>
java.lang.Exception
public void configure(org.springframework.statemachine.config.builders.StateMachineStateConfigurer<ClusterState,ClusterEvent> states) throws java.lang.Exception
configure
in interface org.springframework.statemachine.config.builders.StateMachineConfigurer<ClusterState,ClusterEvent>
configure
in class org.springframework.statemachine.config.AbstractStateMachineConfigurerAdapter<ClusterState,ClusterEvent>
java.lang.Exception
public void configure(org.springframework.statemachine.config.builders.StateMachineTransitionConfigurer<ClusterState,ClusterEvent> transitions) throws java.lang.Exception
configure
in interface org.springframework.statemachine.config.builders.StateMachineConfigurer<ClusterState,ClusterEvent>
configure
in class org.springframework.statemachine.config.AbstractStateMachineConfigurerAdapter<ClusterState,ClusterEvent>
java.lang.Exception
@Bean public ClusterAllocatingAction clusterAllocatingAction()
@Bean public ClusterStoppingAction clusterStoppingAction()
@Bean public ClusterDestroyingAction clusterDestroyingAction()