public interface

StateMachineEngine

implements MessageHandlerFactory
org.apache.helix.participant.StateMachineEngine
Known Indirect Subclasses

Class Overview

Helix participant manager uses this class to register/remove state model factory State model factory creates state model that handles state transition messages

Summary

Public Methods
abstract boolean registerStateModelFactory(String stateModelDef, StateModelFactory<? extends StateModel> factory)
Register a default state model factory for a state model definition A state model definition could be, for example: "MasterSlave", "OnlineOffline", "LeaderStandby", etc.
abstract boolean registerStateModelFactory(String stateModelDef, StateModelFactory<? extends StateModel> factory, String factoryName)
Register a state model factory with a name for a state model definition
abstract boolean removeStateModelFactory(String stateModelDef, StateModelFactory<? extends StateModel> factory, String factoryName)
Remove the state model factory with a name for a state model definition
abstract boolean removeStateModelFactory(String stateModelDef, StateModelFactory<? extends StateModel> factory)
Remove the default state model factory for a state model definition
[Expand]
Inherited Methods
From interface org.apache.helix.messaging.handling.MessageHandlerFactory

Public Methods

public abstract boolean registerStateModelFactory (String stateModelDef, StateModelFactory<? extends StateModel> factory)

Register a default state model factory for a state model definition A state model definition could be, for example: "MasterSlave", "OnlineOffline", "LeaderStandby", etc.

public abstract boolean registerStateModelFactory (String stateModelDef, StateModelFactory<? extends StateModel> factory, String factoryName)

Register a state model factory with a name for a state model definition

public abstract boolean removeStateModelFactory (String stateModelDef, StateModelFactory<? extends StateModel> factory, String factoryName)

Remove the state model factory with a name for a state model definition

public abstract boolean removeStateModelFactory (String stateModelDef, StateModelFactory<? extends StateModel> factory)

Remove the default state model factory for a state model definition