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 alertHistory()
Get a property key associated with AlertHistory
PropertyKey alertStatus()
Get a property key associated with AlertStatus
PropertyKey alerts()
Get a property key associated with Alerts
PropertyKey cluster()
Get the key for the root node
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 controllerContext(String contextId)
Get a propertykey associated with the root of the Helix contexts
PropertyKey controllerContexts()
Get a propertykey associated with the root of the Helix contexts
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 the root of all controller status updates
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 currentState(String instanceName, String sessionId, String resourceName)
Get a property key associated with CurrentState of an instance, session, and resource
PropertyKey currentStates(String instanceName)
Get a property key associated with CurrentState of an instance and session
PropertyKey currentStates(String instanceName, String sessionId)
Get a property key associated with CurrentState of an instance and session
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(String resourceName)
Get a property key associated with IdealState and a resource
PropertyKey idealStates()
Get a property key associated with IdealState
PropertyKey instance(String instanceName)
Get a property key associated with all instances
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 participantErrors(String instanceName)
Get a property key representing the root of all persisted participant errors
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 configuration
PropertyKey partitionConfigs(String resourceName)
Get a property key associated with all partition configurations
PropertyKey pause()
Get a property key associated with PauseSignal
PropertyKey persistantStat()
Get a property key associated with PersistentStats
PropertyKey propertyStore()
Get a propertykey associated with the root of the Helix property store
PropertyKey resourceAssignment(String resourceName)
Get a property key associated with ResourceAssignment representing the most recent assignment
PropertyKey resourceAssignments()
Get a property key associated with all ResourceAssignments on the cluster
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, 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, String resourceName, String partitionName)
Get a property key associated with StatusUpdate of an instance, session, resource, and partition
PropertyKey stateTransitionStatus(String instanceName, String sessionId)
Get a property key associated with StatusUpdate of an instance and session
PropertyKey statusUpdates(String instanceName)
Get a property key representing the root of all status updates
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 alertHistory ()

Get a property key associated with AlertHistory

Returns

public PropertyKey alertStatus ()

Get a property key associated with AlertStatus

Returns

public PropertyKey alerts ()

Get a property key associated with Alerts

Returns

public PropertyKey cluster ()

Get the key for the root node

Returns
  • cluster node

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 controllerContext (String contextId)

Get a propertykey associated with the root of the Helix contexts

Returns

public PropertyKey controllerContexts ()

Get a propertykey associated with the root of the Helix contexts

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 the root of all controller status updates

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 currentState (String instanceName, String sessionId, String resourceName)

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

Returns

public PropertyKey currentStates (String instanceName)

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

Returns

public PropertyKey currentStates (String instanceName, String sessionId)

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

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 (String resourceName)

Get a property key associated with IdealState and a resource

Returns

public PropertyKey idealStates ()

Get a property key associated with IdealState

Returns

public PropertyKey instance (String instanceName)

Get a property key associated with all instances

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 participantErrors (String instanceName)

Get a property key representing the root of all persisted participant errors

Parameters
instanceName the participant of interest
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 configuration

Returns

public PropertyKey partitionConfigs (String resourceName)

Get a property key associated with all partition configurations

Returns

public PropertyKey pause ()

Get a property key associated with PauseSignal

Returns

public PropertyKey persistantStat ()

Get a property key associated with PersistentStats

Returns

public PropertyKey propertyStore ()

Get a propertykey associated with the root of the Helix property store

Returns
  • PropertyStore

public PropertyKey resourceAssignment (String resourceName)

Get a property key associated with ResourceAssignment representing the most recent assignment

Parameters
resourceName name of the resource
Returns

public PropertyKey resourceAssignments ()

Get a property key associated with all ResourceAssignments on the cluster

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, 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, String resourceName, String partitionName)

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

Returns

public PropertyKey stateTransitionStatus (String instanceName, String sessionId)

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

Returns

public PropertyKey statusUpdates (String instanceName)

Get a property key representing the root of all status updates

Parameters
instanceName the participant the status updates belong to
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