java.lang.Object | |||
↳ | org.apache.helix.controller.rebalancer.context.BasicRebalancerContext | ||
↳ | org.apache.helix.controller.rebalancer.context.PartitionedRebalancerContext | ||
↳ | org.apache.helix.controller.rebalancer.context.SemiAutoRebalancerContext |
RebalancerContext for SEMI_AUTO rebalancer mode. It indicates the preferred locations of each
partition replica. By default, it corresponds to SemiAutoRebalancer
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SemiAutoRebalancerContext.Builder | Build a SemiAutoRebalancerContext. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a SemiAutoRebalancerContext
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generate preference lists based on a default cluster setup
| |||||||||||
Get the preference list of a partition
| |||||||||||
Get the preference lists of all partitions of the resource
| |||||||||||
Set the preference lists of all partitions of the resource
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Instantiate a SemiAutoRebalancerContext
Generate preference lists 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 list of a partition
partitionId | the partition to look up |
---|
Get the preference lists of all partitions of the resource
Set the preference lists of all partitions of the resource