java.lang.Object | |
↳ | org.apache.helix.controller.rebalancer.config.BasicRebalancerConfig |
Known Direct Subclasses |
Known Indirect Subclasses |
Abstract RebalancerConfig that functions for generic subunits. Use a subclass that more concretely defines the subunits.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BasicRebalancerConfig.AbstractBuilder<T extends AbstractBuilder<T>> | Abstract builder for the base rebalancer config |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate a basic rebalancer config
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Safely cast a RebalancerConfig into a subtype
| |||||||||||
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.
| |||||||||||
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.
| |||||||||||
Set a tag that participants must have in order to serve this resource
| |||||||||||
Set the reference to the class used to rebalance this resource
| |||||||||||
Set the resource to rebalance
| |||||||||||
Set the class that can serialize this config
| |||||||||||
Set the state model definition that the resource follows
| |||||||||||
Set the state model factory that the resource uses
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.apache.helix.controller.rebalancer.config.RebalancerConfig
|
Instantiate a basic rebalancer config
Safely cast a RebalancerConfig into a subtype
config | RebalancerConfig object |
---|---|
clazz | the target class |
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. If none is provided, DefaultStringSerializer
is used
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)
Set a tag that participants must have in order to serve this resource
participantGroupTag | string group tag |
---|
Set the reference to the class used to rebalance this resource
rebalancerRef | RebalancerRef instance |
---|
Set the resource to rebalance
resourceId | resource id |
---|
Set the class that can serialize this config
serializer | serializer class that implements StringSerializer |
---|
Set the state model definition that the resource follows
stateModelDefId | state model definition id |
---|
Set the state model factory that the resource uses
stateModelFactoryId | state model factory id |
---|