public class

StateModelDefId

extends Id
java.lang.Object
   ↳ org.apache.helix.api.id.Id
     ↳ org.apache.helix.api.id.StateModelDefId

Summary

Fields
public static final StateModelDefId LeaderStandby
public static final StateModelDefId MasterSlave
public static final StateModelDefId OnlineOffline
public static final StateModelDefId SchedulerTaskQueue
Public Constructors
StateModelDefId(String id)
Create a state model definition id
Public Methods
boolean equalsIgnoreCase(StateModelDefId that)
Check if the underlying state model definition id is equal if case is ignored
static StateModelDefId from(String stateModelDefId)
Get a concrete state model definition id
String stringify()
[Expand]
Inherited Methods
From class org.apache.helix.api.id.Id
From class java.lang.Object
From interface java.lang.Comparable

Fields

public static final StateModelDefId LeaderStandby

public static final StateModelDefId MasterSlave

public static final StateModelDefId OnlineOffline

public static final StateModelDefId SchedulerTaskQueue

Public Constructors

public StateModelDefId (String id)

Create a state model definition id

Parameters
id string representing a state model definition id

Public Methods

public boolean equalsIgnoreCase (StateModelDefId that)

Check if the underlying state model definition id is equal if case is ignored

Parameters
that the StateModelDefId to compare
Returns
  • true if equal ignoring case, false otherwise

public static StateModelDefId from (String stateModelDefId)

Get a concrete state model definition id

Parameters
stateModelDefId string state model identifier
Returns
  • StateModelDefId

public String stringify ()