java.lang.Object | |
↳ | org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder<T extends org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder<T>> |
![]()
PartitionedRebalancerContext.AbstractBuilder<T extends AbstractBuilder<T>>
|
![]() |
Abstract builder for the base rebalancer context
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Instantiate with a resource id
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the rebalancer context from the built fields
| |||||||||||
Set the tag that all participants require in order to serve this resource
| |||||||||||
Specify a custom class to use for rebalancing
| |||||||||||
Set the serializer class for this rebalancer context
| |||||||||||
Set the state model definition that the resource should follow
| |||||||||||
Set the state model factory that the resource should use
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a typed reference to "this" class.
| |||||||||||
Update an existing context with base fields
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Instantiate with a resource id
resourceId | resource id |
---|
Get the rebalancer context from the built fields
Set the tag that all participants require in order to serve this resource
participantGroupTag | the tag |
---|
Specify a custom class to use for rebalancing
rebalancerRef | RebalancerRef instance |
---|
Set the serializer class for this rebalancer context
serializerClass | class that implements ContextSerializer |
---|
Set the state model definition that the resource should follow
stateModelDefId | state model definition id |
---|
Set the state model factory that the resource should use
stateModelFactoryId | state model factory id |
---|
Get a typed reference to "this" class. Final derived classes should simply return the this reference.
Update an existing context with base fields
context | derived context |
---|