org.apache.hadoop.hbase.master
Class MetricsAssignmentManager
java.lang.Object
org.apache.hadoop.hbase.master.MetricsAssignmentManager
public class MetricsAssignmentManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsAssignmentManager
public MetricsAssignmentManager()
updateAssignmentTime
public void updateAssignmentTime(long time)
updateBulkAssignTime
public void updateBulkAssignTime(long time)
updateRITCount
public void updateRITCount(int ritCount)
- set new value for number of regions in transition.
- Parameters:
ritCount
-
updateRITCountOverThreshold
public 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.
- Parameters:
ritCountOverThreshold
-
updateRITOldestAge
public void updateRITOldestAge(long timestamp)
- update the timestamp for oldest region in transition metrics.
- Parameters:
timestamp
-
Copyright © 2015 The Apache Software Foundation. All rights reserved.