public class

GenericLeaderStandbyModel

extends TransitionHandler
java.lang.Object
   ↳ org.apache.helix.api.TransitionHandler
     ↳ org.apache.helix.participant.GenericLeaderStandbyModel

Summary

[Expand]
Inherited Constants
From class org.apache.helix.api.TransitionHandler
[Expand]
Inherited Fields
From class org.apache.helix.api.TransitionHandler
Public Constructors
GenericLeaderStandbyModel(CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes, PartitionId 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.api.TransitionHandler
From class java.lang.Object

Public Constructors

public GenericLeaderStandbyModel (CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes, PartitionId 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)