java.lang.Object | |
↳ | org.apache.helix.manager.zk.ZKHelixAdmin |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | CONNECTION_TIMEOUT |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add an alert to a cluster
| |||||||||||
Add a cluster
| |||||||||||
Add a cluster
| |||||||||||
Add a cluster and also add this cluster as a resource group in the super cluster
| |||||||||||
Add ideal state using a json format file
| |||||||||||
Add an instance to a cluster
| |||||||||||
Add a resource to a cluster, using the default ideal state mode AUTO
| |||||||||||
Add a resource to a cluster
| |||||||||||
Add a resource to a cluster, using a bucket size > 1
| |||||||||||
Add a resource to a cluster, using a bucket size > 1
| |||||||||||
Add a statistics to a cluster
| |||||||||||
Add a state model definition
| |||||||||||
Add state model definition using a json format file
| |||||||||||
Release resources
| |||||||||||
Drop an alert from a cluster
| |||||||||||
Drop a cluster
| |||||||||||
Drop an instance from a cluster
| |||||||||||
Drop a resource from a cluster
| |||||||||||
Drop statistics from a cluster
| |||||||||||
Disable or enable a cluster
| |||||||||||
Disable or enable an instance
| |||||||||||
Disable or enable a list of partitions on an instance
| |||||||||||
Get a list of clusters under "/"
| |||||||||||
Get configuration values
| |||||||||||
Get configuration keys
| |||||||||||
Get all constraints for a type
| |||||||||||
Get an instance config
| |||||||||||
Get a list of instances under a cluster
| |||||||||||
Get external view for a resource
| |||||||||||
Get ideal state for a resource
| |||||||||||
Get a list of resources in a cluster
| |||||||||||
Get a state model definition in a cluster
| |||||||||||
Get a list of state model definitions in a cluster
| |||||||||||
Rebalance a resource in cluster
| |||||||||||
Takes the existing idealstate as input and computes newIdealState such that
the partition movement is minimized.
| |||||||||||
Remove configuration values
| |||||||||||
Remove a constraint item
| |||||||||||
Reset all the partitions in error state for a list of instances
| |||||||||||
Reset a list of partitions in error state for an instance
The partitions are assume to be in error state and reset will bring them from error
to initial state.
| |||||||||||
Reset all partitions in error state for a list of resources
| |||||||||||
Set configuration values
| |||||||||||
Add a constraint item; create if not exist
| |||||||||||
Set ideal state for a resource
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.helix.HelixAdmin
|
Add a cluster
recreateIfExists | If the cluster already exists, it will delete it and recreate |
---|
Add a cluster
Add a cluster and also add this cluster as a resource group in the super cluster
Add ideal state using a json format file
IOException |
---|
Add an instance to a cluster
Add a resource to a cluster, using the default ideal state mode AUTO
Add a resource to a cluster
Add a resource to a cluster, using a bucket size > 1
Add a resource to a cluster, using a bucket size > 1
Add a state model definition
Add state model definition using a json format file
IOException |
---|
Release resources
Drop an instance from a cluster
Disable or enable an instance
Disable or enable a list of partitions on an instance
Get configuration values
Get configuration keys
Get all constraints for a type
Get an instance config
Get a list of instances under a cluster
Get external view for a resource
Get ideal state for a resource
Get a list of resources in a cluster
Get a state model definition in a cluster
Get a list of state model definitions in a cluster
Rebalance a resource in cluster
Takes the existing idealstate as input and computes newIdealState such that the partition movement is minimized. The partitions are redistributed among the instances provided.
Remove a constraint item
Reset all the partitions in error state for a list of instances
Reset a list of partitions in error state for an instance The partitions are assume to be in error state and reset will bring them from error to initial state. An error to initial state transition is required for reset.
Reset all partitions in error state for a list of resources
Set configuration values
Add a constraint item; create if not exist
Set ideal state for a resource