public class

GenericLeaderStandbyModel

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

Summary

[Expand]
Inherited Fields
From class org.apache.helix.participant.statemachine.StateModel
Public Constructors
GenericLeaderStandbyModel(CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes, String partitionKey)
Public Methods
void onBecomeLeaderFromStandby(Message message, NotificationContext context)
void onBecomeOfflineFromStandby(Message message, NotificationContext context)
void onBecomeStandbyFromLeader(Message message, NotificationContext context)
void onBecomeStandbyFromOffline(Message message, NotificationContext context)
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.StateModel
From class java.lang.Object

Public Constructors

public GenericLeaderStandbyModel (CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes, String partitionKey)

Public Methods

public void onBecomeLeaderFromStandby (Message message, NotificationContext context)

Throws
Exception

public void onBecomeOfflineFromStandby (Message message, NotificationContext context)

public void onBecomeStandbyFromLeader (Message message, NotificationContext context)

public void onBecomeStandbyFromOffline (Message message, NotificationContext context)