public class

AgentStateModelFactory

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.agent.AgentStateModelFactory

Summary

Public Constructors
AgentStateModelFactory()
Public Methods
AgentStateModel 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 AgentStateModelFactory ()

Public Methods

public AgentStateModel 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