public class

GenericLeaderStandbyStateModelFactory

extends StateModelFactory<T extends StateModel>
java.lang.Object
   ↳ org.apache.helix.participant.statemachine.StateModelFactory<T extends org.apache.helix.participant.statemachine.StateModel>
     ↳ org.apache.helix.participant.GenericLeaderStandbyStateModelFactory

Summary

Public Constructors
GenericLeaderStandbyStateModelFactory(CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes)
Public Methods
GenericLeaderStandbyModel createNewStateModel(String resourceName, String partitionKey)
This method will be invoked only once per resource per partition per session Replace deprecating StateModelFactory#createNewStateModel(String partitionName) Add "resourceName" to signature @see HELIX-552
[Expand]
Inherited Methods
From class org.apache.helix.participant.statemachine.StateModelFactory
From class java.lang.Object

Public Constructors

public GenericLeaderStandbyStateModelFactory (CustomCodeCallbackHandler callback, List<HelixConstants.ChangeType> notificationTypes)

Public Methods

public GenericLeaderStandbyModel createNewStateModel (String resourceName, String partitionKey)

This method will be invoked only once per resource per partition per session Replace deprecating StateModelFactory#createNewStateModel(String partitionName) Add "resourceName" to signature @see HELIX-552

Returns
  • state model