org.apache.helix.controller.rebalancer.config.RebalancerConfig |
![]() |
Defines the state available to a rebalancer. The most common use case is to use a
PartitionedRebalancerConfig
or a subclass and set up a resource with it. A rebalancer
configuration, at a minimum, is aware of subunits of a resource, the state model to follow, and
how the configuration should be serialized.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the tag, if any, that participants must have in order to serve this resource
| |||||||||||
Get a reference to the class used to rebalance this resource
| |||||||||||
Get the resource to rebalance
| |||||||||||
Get the serializer for this config
| |||||||||||
Get the state model definition that the resource follows
| |||||||||||
Get the state model factory of this resource
| |||||||||||
Get a specific subunit
| |||||||||||
Get the subunits of the resource (e.g.
| |||||||||||
Get a map of resource partition identifiers to partitions.
|
Get the tag, if any, that participants must have in order to serve this resource
Get a reference to the class used to rebalance this resource
Get the serializer for this config
Get the state model definition that the resource follows
Get the state model factory of this resource
Get a specific subunit
subUnitId | the id of the subunit |
---|
Get the subunits of the resource (e.g. partitions)
Get a map of resource partition identifiers to partitions. A partition is a subunit of a resource, e.g. a subtask of a task