public static final class

PartitionedRebalancerContext.Builder

extends PartitionedRebalancerContext.AbstractBuilder<T extends AbstractBuilder<T>>
java.lang.Object
   ↳ org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder<T extends org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder<T>>
     ↳ org.apache.helix.controller.rebalancer.context.PartitionedRebalancerContext.AbstractBuilder<T extends org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder<T>>
       ↳ org.apache.helix.controller.rebalancer.context.PartitionedRebalancerContext.Builder

Class Overview

Builder for a basic data rebalancer context

Summary

Public Constructors
PartitionedRebalancerContext.Builder(ResourceId resourceId)
Instantiate with a resource
Public Methods
PartitionedRebalancerContext build()
Get the rebalancer context from the built fields
Protected Methods
PartitionedRebalancerContext.Builder self()
Get a typed reference to "this" class.
[Expand]
Inherited Methods
From class org.apache.helix.controller.rebalancer.context.PartitionedRebalancerContext.AbstractBuilder
From class org.apache.helix.controller.rebalancer.context.BasicRebalancerContext.AbstractBuilder
From class java.lang.Object

Public Constructors

public PartitionedRebalancerContext.Builder (ResourceId resourceId)

Instantiate with a resource

Parameters
resourceId resource id

Public Methods

public PartitionedRebalancerContext build ()

Get the rebalancer context from the built fields

Returns
  • RebalancerContext

Protected Methods

protected PartitionedRebalancerContext.Builder self ()

Get a typed reference to "this" class. Final derived classes should simply return the this reference.

Returns
  • this for the most specific type