java.lang.Object | |
↳ | org.apache.helix.controller.stages.ClusterDataCache |
Reads the data from the cluster using data accessor. This output ClusterData which provides useful methods to search/lookup properties
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the ClusterConstraints for a given constraintType
| |||||||||||
Provides the current state of the node for a given session id,
the sessionid can be got from LiveInstance
| |||||||||||
Some partitions might be disabled on specific nodes.
| |||||||||||
Provides the idealstate for a given resource
| |||||||||||
Retrieves the idealstates for all resources
| |||||||||||
Returns the instance config map
| |||||||||||
Returns the LiveInstances for each of the instances that are curretnly up and running
| |||||||||||
Provides a list of current outstanding transitions on a given instance.
| |||||||||||
Returns the number of replicas for a given resource.
| |||||||||||
Provides the state model definition for a given state model
| |||||||||||
This refreshes the cluster data by re-fetching the data from zookeeper in
an efficient way
| |||||||||||
toString method to print the entire cluster state
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Returns the ClusterConstraints for a given constraintType
Provides the current state of the node for a given session id, the sessionid can be got from LiveInstance
Some partitions might be disabled on specific nodes. This method allows one to fetch the set of nodes where a given partition is disabled
Returns the LiveInstances for each of the instances that are curretnly up and running
Provides a list of current outstanding transitions on a given instance.
Provides the state model definition for a given state model
This refreshes the cluster data by re-fetching the data from zookeeper in an efficient way