Class MetricsBalancer
java.lang.Object
org.apache.hadoop.hbase.master.balancer.MetricsBalancer
- Direct Known Subclasses:
MetricsStochasticBalancer
Faced for exposing metrics about the balancer.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
balanceCluster
(long time) void
balancerStatus
(boolean status) void
protected void
A function to instantiate the metrics source.
-
Field Details
-
source
-
-
Constructor Details
-
MetricsBalancer
public MetricsBalancer()
-
-
Method Details
-
initSource
A function to instantiate the metrics source. This function can be overridden in its subclasses to provide extended sources -
balanceCluster
-
incrMiscInvocations
-
balancerStatus
-