@InterfaceAudience.Private public class MetricsAssignmentManager extends Object
| Constructor and Description |
|---|
MetricsAssignmentManager() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.procedure2.ProcedureMetrics |
getAssignProcMetrics() |
org.apache.hadoop.hbase.procedure2.ProcedureMetrics |
getMergeProcMetrics() |
org.apache.hadoop.hbase.master.MetricsAssignmentManagerSource |
getMetricsProcSource() |
org.apache.hadoop.hbase.procedure2.ProcedureMetrics |
getSplitProcMetrics() |
org.apache.hadoop.hbase.procedure2.ProcedureMetrics |
getUnassignProcMetrics() |
void |
incrementOperationCounter() |
void |
updateRITCount(int ritCount)
set new value for number of regions in transition.
|
void |
updateRITCountOverThreshold(int ritCountOverThreshold)
update RIT count that are in this state for more than the threshold
as defined by the property rit.metrics.threshold.time.
|
void |
updateRitDuration(long duration)
update the duration metrics of region is transition
|
void |
updateRITOldestAge(long timestamp)
update the timestamp for oldest region in transition metrics.
|
public org.apache.hadoop.hbase.master.MetricsAssignmentManagerSource getMetricsProcSource()
public void updateRITCount(int ritCount)
ritCount - public void updateRITCountOverThreshold(int ritCountOverThreshold)
ritCountOverThreshold - public void updateRITOldestAge(long timestamp)
timestamp - public void updateRitDuration(long duration)
duration - public void incrementOperationCounter()
public org.apache.hadoop.hbase.procedure2.ProcedureMetrics getAssignProcMetrics()
public org.apache.hadoop.hbase.procedure2.ProcedureMetrics getUnassignProcMetrics()
public org.apache.hadoop.hbase.procedure2.ProcedureMetrics getSplitProcMetrics()
public org.apache.hadoop.hbase.procedure2.ProcedureMetrics getMergeProcMetrics()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.