Class LoadBalancerFactory
java.lang.Object
org.apache.hadoop.hbase.master.balancer.LoadBalancerFactory
The class that creates a load balancer from a conf.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Class<? extends LoadBalancer>
The defaultLoadBalancer
class.static LoadBalancer
getLoadBalancer
(org.apache.hadoop.conf.Configuration conf) Create a loadbalancer from the given conf.
-
Constructor Details
-
LoadBalancerFactory
public LoadBalancerFactory()
-
-
Method Details
-
getDefaultLoadBalancerClass
The defaultLoadBalancer
class.- Returns:
- The Class for the default
LoadBalancer
.
-
getLoadBalancer
Create a loadbalancer from the given conf.- Returns:
- A
LoadBalancer
-