public static class

MasterSlaveStateModelFactory.MasterSlaveStateModel

extends TransitionHandler
java.lang.Object
   ↳ org.apache.helix.api.TransitionHandler
     ↳ org.apache.helix.examples.MasterSlaveStateModelFactory.MasterSlaveStateModel

Summary

[Expand]
Inherited Constants
From class org.apache.helix.api.TransitionHandler
[Expand]
Inherited Fields
From class org.apache.helix.api.TransitionHandler
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.api.TransitionHandler
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)