public static class

PropertyKey.Builder

extends Object
java.lang.Object
   ↳ org.apache.helix.PropertyKey.Builder

Class Overview

PropertyKey builder for a cluster

Summary

Public Constructors
PropertyKey.Builder(String clusterName)
Instantiate with a cluster name
Public Methods
PropertyKey clusterConfig()
Get a property key associated with this cluster configuration
PropertyKey clusterConfigs()
Get a property key associated with all cluster configurations
PropertyKey constraint(String constraintType)
Get a property key associated with a specific ClusterConstraints
PropertyKey constraints()
Get a property key associated with ClusterConstraints
PropertyKey controller()
Get a property key associated with a controller
PropertyKey controllerLeader()
Get a property key associated with a LiveInstance leader
PropertyKey controllerLeaderHistory()
Get a property key associated with LeaderHistory
PropertyKey controllerMessage(String msgId)
Get a property key associated with a Message for the controller
PropertyKey controllerMessages()
Get a property key associated with all Messages for the controller
PropertyKey controllerTaskError(String errorId)
Get a property key associated with StatusUpdate of a controller error
PropertyKey controllerTaskErrors()
Get a property key associated with StatusUpdate of controller errors
PropertyKey controllerTaskStatus(String subPath, String recordName)
Get a property key associated with StatusUpdate of a controller status update
PropertyKey controllerTaskStatuses(String subPath)
Get a property key associated with StatusUpdate of controller status updates
PropertyKey controllerTaskStatuses()
Get a property key associated with StatusUpdate of controller status updates
PropertyKey currentState(String instanceName, String sessionId, String resourceName)
Get a property key associated with CurrentState of an instance, session, and resource
PropertyKey currentState(String instanceName, String sessionId, String resourceName, String bucketName)
Get a property key associated with CurrentState of an instance, session, resource, and bucket name
PropertyKey currentStates(String instanceName, String sessionId)
Get a property key associated with CurrentState of an instance and session
PropertyKey errors(String instanceName)
Get a property key associated with Error for an instance
PropertyKey externalView(String resourceName)
Get a property key associated with an ExternalView of a resource
PropertyKey externalViews()
Get a property key associated with all ExternalView
PropertyKey healthReport(String instanceName, String id)
Get a property key associated with a HealthStat for an instance
PropertyKey healthReports(String instanceName)
Get a property key associated with HealthStats for an instance
PropertyKey idealStates()
Get a property key associated with IdealState
PropertyKey idealStates(String resourceName)
Get a property key associated with IdealState and a resource
PropertyKey instanceConfig(String instanceName)
Get a property key associated with InstanceConfig for a specific instance
PropertyKey instanceConfigs()
Get a property key associated with InstanceConfig
PropertyKey instances()
Get a property key associated with all instances
PropertyKey liveInstance(String instanceName)
Get a property key associated with a specific LiveInstance
PropertyKey liveInstances()
Get a property key associated with LiveInstance
PropertyKey message(String instanceName, String messageId)
Get a property key associated with a specific Message on an instance
PropertyKey messages(String instanceName)
Get a property key associated with Message for an instance
PropertyKey partitionConfig(String instanceName, String resourceName, String partitionName)
Get a property key associated with a partition configuration
PropertyKey partitionConfig(String resourceName, String partitionName)
Get a property key associated with a partition
PropertyKey pause()
Get a property key associated with PauseSignal
PropertyKey resourceConfig(String resourceName)
Get a property key associated with a specific resource configuration
PropertyKey resourceConfigs()
Get a property key associated with resource configurations
PropertyKey sessions(String instanceName)
Get a property key associated with CurrentState of an instance
PropertyKey stateModelDef(String stateModelName)
Get a property key associated with StateModelDefinition for a given state model name
PropertyKey stateModelDefs()
Get a property key associated with StateModelDefinition
PropertyKey stateTransitionError(String instanceName, String sessionId, String resourceName, String partitionName)
Get a property key associated with Error of an instance, session, resource, and partition
PropertyKey stateTransitionErrors(String instanceName)
Get a property key associated with Error of an instance, session, and resource
PropertyKey stateTransitionErrors(String instanceName, String sessionId, String resourceName)
Get a property key associated with Error of an instance, session, and resource
PropertyKey stateTransitionStatus(String instanceName, String sessionId, String resourceName)
Get a property key associated with StatusUpdate of an instance, session, and resource
PropertyKey stateTransitionStatus(String instanceName, String sessionId)
Get a property key associated with StatusUpdate of an instance and session
PropertyKey stateTransitionStatus(String instanceName)
Get a property key associated with StatusUpdate of an instance
PropertyKey stateTransitionStatus(String instanceName, String sessionId, String resourceName, String partitionName)
Get a property key associated with StatusUpdate of an instance, session, resource, and partition
PropertyKey taskError(String instanceName, String sessionId, String msgType, String msgId)
Used to get status update for a NON STATE TRANSITION type
PropertyKey taskStatus(String instanceName, String sessionId, String msgType, String msgId)
Used to get status update for a NON STATE TRANSITION type
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PropertyKey.Builder (String clusterName)

Instantiate with a cluster name

Public Methods

public PropertyKey clusterConfig ()

Get a property key associated with this cluster configuration

Returns

public PropertyKey clusterConfigs ()

Get a property key associated with all cluster configurations

Returns

public PropertyKey constraint (String constraintType)

Get a property key associated with a specific ClusterConstraints

Returns

public PropertyKey constraints ()

Get a property key associated with ClusterConstraints

Returns

public PropertyKey controller ()

Get a property key associated with a controller

Returns

public PropertyKey controllerLeader ()

Get a property key associated with a LiveInstance leader

Returns

public PropertyKey controllerLeaderHistory ()

Get a property key associated with LeaderHistory

Returns

public PropertyKey controllerMessage (String msgId)

Get a property key associated with a Message for the controller

Returns

public PropertyKey controllerMessages ()

Get a property key associated with all Messages for the controller

Returns

public PropertyKey controllerTaskError (String errorId)

Get a property key associated with StatusUpdate of a controller error

Returns

public PropertyKey controllerTaskErrors ()

Get a property key associated with StatusUpdate of controller errors

Returns

public PropertyKey controllerTaskStatus (String subPath, String recordName)

Get a property key associated with StatusUpdate of a controller status update

Returns

public PropertyKey controllerTaskStatuses (String subPath)

Get a property key associated with StatusUpdate of controller status updates

Returns

public PropertyKey controllerTaskStatuses ()

Get a property key associated with StatusUpdate of controller status updates

Returns

public PropertyKey currentState (String instanceName, String sessionId, String resourceName)

Get a property key associated with CurrentState of an instance, session, and resource

Returns

public PropertyKey currentState (String instanceName, String sessionId, String resourceName, String bucketName)

Get a property key associated with CurrentState of an instance, session, resource, and bucket name

Returns

public PropertyKey currentStates (String instanceName, String sessionId)

Get a property key associated with CurrentState of an instance and session

Returns

public PropertyKey errors (String instanceName)

Get a property key associated with Error for an instance

Returns

public PropertyKey externalView (String resourceName)

Get a property key associated with an ExternalView of a resource

Returns

public PropertyKey externalViews ()

Get a property key associated with all ExternalView

Returns

public PropertyKey healthReport (String instanceName, String id)

Get a property key associated with a HealthStat for an instance

Parameters
id identifies the statistics
Returns

public PropertyKey healthReports (String instanceName)

Get a property key associated with HealthStats for an instance

Returns

public PropertyKey idealStates ()

Get a property key associated with IdealState

Returns

public PropertyKey idealStates (String resourceName)

Get a property key associated with IdealState and a resource

Returns

public PropertyKey instanceConfig (String instanceName)

Get a property key associated with InstanceConfig for a specific instance

Returns

public PropertyKey instanceConfigs ()

Get a property key associated with InstanceConfig

Returns

public PropertyKey instances ()

Get a property key associated with all instances

Returns

public PropertyKey liveInstance (String instanceName)

Get a property key associated with a specific LiveInstance

Returns

public PropertyKey liveInstances ()

Get a property key associated with LiveInstance

Returns

public PropertyKey message (String instanceName, String messageId)

Get a property key associated with a specific Message on an instance

Returns

public PropertyKey messages (String instanceName)

Get a property key associated with Message for an instance

Returns

public PropertyKey partitionConfig (String instanceName, String resourceName, String partitionName)

Get a property key associated with a partition configuration

Returns

public PropertyKey partitionConfig (String resourceName, String partitionName)

Get a property key associated with a partition

Returns

public PropertyKey pause ()

Get a property key associated with PauseSignal

Returns

public PropertyKey resourceConfig (String resourceName)

Get a property key associated with a specific resource configuration

Returns

public PropertyKey resourceConfigs ()

Get a property key associated with resource configurations

Returns

public PropertyKey sessions (String instanceName)

Get a property key associated with CurrentState of an instance

Returns

public PropertyKey stateModelDef (String stateModelName)

Get a property key associated with StateModelDefinition for a given state model name

Returns

public PropertyKey stateModelDefs ()

Get a property key associated with StateModelDefinition

Returns

public PropertyKey stateTransitionError (String instanceName, String sessionId, String resourceName, String partitionName)

Get a property key associated with Error of an instance, session, resource, and partition

Returns

public PropertyKey stateTransitionErrors (String instanceName)

Get a property key associated with Error of an instance, session, and resource

Returns

public PropertyKey stateTransitionErrors (String instanceName, String sessionId, String resourceName)

Get a property key associated with Error of an instance, session, and resource

Returns

public PropertyKey stateTransitionStatus (String instanceName, String sessionId, String resourceName)

Get a property key associated with StatusUpdate of an instance, session, and resource

Returns

public PropertyKey stateTransitionStatus (String instanceName, String sessionId)

Get a property key associated with StatusUpdate of an instance and session

Returns

public PropertyKey stateTransitionStatus (String instanceName)

Get a property key associated with StatusUpdate of an instance

Returns

public PropertyKey stateTransitionStatus (String instanceName, String sessionId, String resourceName, String partitionName)

Get a property key associated with StatusUpdate of an instance, session, resource, and partition

Returns

public PropertyKey taskError (String instanceName, String sessionId, String msgType, String msgId)

Used to get status update for a NON STATE TRANSITION type

Returns

public PropertyKey taskStatus (String instanceName, String sessionId, String msgType, String msgId)

Used to get status update for a NON STATE TRANSITION type

Returns