org.apache.hadoop.hbase.master
Class MetricsAssignmentManager

java.lang.Object
  extended by org.apache.hadoop.hbase.master.MetricsAssignmentManager

public class MetricsAssignmentManager
extends Object


Constructor Summary
MetricsAssignmentManager()
           
 
Method Summary
 void updateAssignmentTime(long time)
           
 void updateBulkAssignTime(long time)
           
 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 updateRITOldestAge(long timestamp)
          update the timestamp for oldest region in transition metrics.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsAssignmentManager

public MetricsAssignmentManager()
Method Detail

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 © 2007–2016 The Apache Software Foundation. All rights reserved.