public static class

MasterSlaveStateModelFactory.MasterSlaveStateModel

extends StateModel
java.lang.Object
   ↳ org.apache.helix.participant.statemachine.StateModel
     ↳ org.apache.helix.examples.MasterSlaveStateModelFactory.MasterSlaveStateModel

Summary

[Expand]
Inherited Fields
From class org.apache.helix.participant.statemachine.StateModel
Public Constructors
MasterSlaveStateModelFactory.MasterSlaveStateModel()
Public Methods
String getPartitionName()
void onBecomeDroppedFromOffline(Message message, NotificationContext context)
void onBecomeMasterFromSlave(Message message, NotificationContext context)
void onBecomeOfflineFromSlave(Message message, NotificationContext context)
void onBecomeSlaveFromMaster(Message message, NotificationContext context)
void onBecomeSlaveFromOffline(Message message, NotificationContext context)
void setDelay(int delay)
void setInstanceName(String instanceName)
void setPartitionName(String partitionName)
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.StateModel
From class java.lang.Object

Public Constructors

public MasterSlaveStateModelFactory.MasterSlaveStateModel ()

Public Methods

public String getPartitionName ()

public void onBecomeDroppedFromOffline (Message message, NotificationContext context)

public void onBecomeMasterFromSlave (Message message, NotificationContext context)

public void onBecomeOfflineFromSlave (Message message, NotificationContext context)

public void onBecomeSlaveFromMaster (Message message, NotificationContext context)

public void onBecomeSlaveFromOffline (Message message, NotificationContext context)

public void setDelay (int delay)

public void setInstanceName (String instanceName)

public void setPartitionName (String partitionName)