java.lang.Object | |
↳ | org.apache.helix.api.accessor.ClusterAccessor |
Known Direct Subclasses |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a cluster accessor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add an alert specification to the cluster
| |||||||||||
add a participant to cluster
| |||||||||||
add a resource to cluster
| |||||||||||
Add a statistic specification to the cluster.
| |||||||||||
Add a state model definition.
| |||||||||||
create a new cluster, fail if it already exists
| |||||||||||
Remove an alert specification from the cluster
| |||||||||||
drop a cluster
| |||||||||||
drop a participant from cluster
| |||||||||||
drop a resource from cluster
| |||||||||||
Remove a statistic specification from the cluster
| |||||||||||
Remove a state model definition if it exists
| |||||||||||
Clear any user-specified configuration from the cluster
| |||||||||||
Create empty persistent properties to ensure that there is a valid cluster structure
| |||||||||||
check if cluster structure is valid
| |||||||||||
pause controller of cluster
| |||||||||||
read entire cluster data
| |||||||||||
Get cluster constraints of a given type
| |||||||||||
Read the persisted controller contexts
| |||||||||||
Read all participants in the cluster
| |||||||||||
Read all resources in the cluster
| |||||||||||
Get all the state model definitions for this cluster
| |||||||||||
Get the stats persisted on this cluster
| |||||||||||
Read the user config of the cluster
| |||||||||||
Remove a constraint from the cluster
| |||||||||||
resume controller of cluster
| |||||||||||
Set the user config of the cluster, overwriting existing user configs
| |||||||||||
Update the cluster configuration
| |||||||||||
Add user configuration to the existing cluster user configuration.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Instantiate a cluster accessor
clusterId | the cluster to access |
---|---|
accessor | HelixDataAccessor for the physical store |
Add an alert specification to the cluster
alertName | string representing the alert spec |
---|
add a participant to cluster
add a resource to cluster
Add a statistic specification to the cluster. Existing stat specifications will not be overwritten
statName | string representing a stat specification |
---|
Add a state model definition. Updates the existing state model definition if it already exists.
stateModelDef | fully initialized state model definition |
---|
create a new cluster, fail if it already exists
Remove an alert specification from the cluster
alertName | string representing an alert specification |
---|
drop a cluster
drop a participant from cluster
drop a resource from cluster
Remove a statistic specification from the cluster
statName | string representing a statistic specification |
---|
Remove a state model definition if it exists
stateModelDefId | state model definition id |
---|
Clear any user-specified configuration from the cluster
Create empty persistent properties to ensure that there is a valid cluster structure
check if cluster structure is valid
pause controller of cluster
Get cluster constraints of a given type
type | ConstraintType value |
---|
Read the persisted controller contexts
Read all participants in the cluster
Read all resources in the cluster
Get all the state model definitions for this cluster
Get the stats persisted on this cluster
Remove a constraint from the cluster
type | the constraint type |
---|---|
constraintId | the constraint id |
resume controller of cluster
Set the user config of the cluster, overwriting existing user configs
userConfig | the new user config |
---|
Update the cluster configuration
clusterDelta | change to the cluster configuration |
---|
Add user configuration to the existing cluster user configuration. Overwrites properties with the same key
userConfig | the user config key-value pairs to add |
---|