Class BaseLoadBalancer

java.lang.Object
org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
All Implemented Interfaces:
ConfigurationObserver, LoadBalancer, Stoppable
Direct Known Subclasses:
FavoredNodeLoadBalancer, SimpleLoadBalancer, StochasticLoadBalancer

@Private public abstract class BaseLoadBalancer extends Object implements LoadBalancer
The base class for load balancers. It provides the functions used to by AssignmentManager to assign regions in the edge cases. It doesn't provide an implementation of the actual balancing algorithm.

Since 3.0.0, all the balancers will be wrapped inside a RSGroupBasedLoadBalancer, it will be in charge of the synchronization of balancing and configuration changing, so we do not need to synchronize by ourselves.