| java.lang.Object | |||
| ↳ | org.apache.helix.controller.rebalancer.config.BasicRebalancerConfig | ||
| ↳ | org.apache.helix.controller.rebalancer.config.PartitionedRebalancerConfig | ||
| ↳ | org.apache.helix.controller.rebalancer.config.CustomRebalancerConfig | ||
RebalancerConfig for a resource that should be rebalanced in CUSTOMIZED mode. By default, it
corresponds to CustomRebalancer
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CustomRebalancerConfig.Builder | Build a CustomRebalancerConfig. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a CustomRebalancerConfig
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Generate preference maps based on a default cluster setup
| |||||||||||
Get the preference map of a partition
| |||||||||||
Get the preference maps of the partitions and replicas of the resource
| |||||||||||
Set the preference maps of the partitions and replicas of the resource
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.helix.controller.rebalancer.config.PartitionedRebalancerConfig
| |||||||||||
From class
org.apache.helix.controller.rebalancer.config.BasicRebalancerConfig
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.helix.controller.rebalancer.config.RebalancerConfig
| |||||||||||
From interface
org.apache.helix.controller.rebalancer.config.ReplicatedRebalancerConfig
| |||||||||||
Instantiate a CustomRebalancerConfig
Generate preference maps based on a default cluster setup
| stateModelDef | the state model definition to follow |
|---|---|
| participantSet | the set of participant ids to configure for |
Get the preference map of a partition
| partitionId | the partition to look up |
|---|
Get the preference maps of the partitions and replicas of the resource
Set the preference maps of the partitions and replicas of the resource
| preferenceMaps | map of partition to participant and state |
|---|