public class

DistClusterControllerStateModel

extends StateModel
java.lang.Object
   ↳ org.apache.helix.participant.statemachine.StateModel
     ↳ org.apache.helix.participant.DistClusterControllerStateModel

Summary

[Expand]
Inherited Fields
From class org.apache.helix.participant.statemachine.StateModel
Public Constructors
DistClusterControllerStateModel(String zkAddr)
Public Methods
void onBecomeDroppedFromOffline(Message message, NotificationContext context)
void onBecomeLeaderFromStandby(Message message, NotificationContext context)
void onBecomeOfflineFromDropped(Message message, NotificationContext context)
void onBecomeOfflineFromStandby(Message message, NotificationContext context)
void onBecomeStandbyFromLeader(Message message, NotificationContext context)
void onBecomeStandbyFromOffline(Message message, NotificationContext context)
void reset()
Called when the state model is reset
void rollbackOnError(Message message, NotificationContext context, StateTransitionError error)
Called when error occurs in state transition TODO:enforce subclass to write this
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.StateModel
From class java.lang.Object

Public Constructors

public DistClusterControllerStateModel (String zkAddr)

Public Methods

public void onBecomeDroppedFromOffline (Message message, NotificationContext context)

public void onBecomeLeaderFromStandby (Message message, NotificationContext context)

Throws
Exception

public void onBecomeOfflineFromDropped (Message message, NotificationContext context)

public void onBecomeOfflineFromStandby (Message message, NotificationContext context)

public void onBecomeStandbyFromLeader (Message message, NotificationContext context)

public void onBecomeStandbyFromOffline (Message message, NotificationContext context)

public void reset ()

Called when the state model is reset

public void rollbackOnError (Message message, NotificationContext context, StateTransitionError error)

Called when error occurs in state transition TODO:enforce subclass to write this