org.apache.hadoop.hbase.regionserver
Class MetricsRegionServer

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.MetricsRegionServer

@InterfaceStability.Evolving
@InterfaceAudience.Private
public class MetricsRegionServer
extends Object

This class is for maintaining the various regionserver statistics and publishing them through the metrics interfaces.

This class has a number of metrics variables that are publicly accessible; these variables (objects) have methods to update their values.


Constructor Summary
MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper)
           
 
Method Summary
 MetricsRegionServerSource getMetricsSource()
           
 MetricsRegionServerWrapper getRegionServerWrapper()
           
 void incrSplitRequest()
           
 void incrSplitSuccess()
           
 void updateAppend(long t)
           
 void updateDelete(long t)
           
 void updateFlushTime(long t)
           
 void updateGet(long t)
           
 void updateIncrement(long t)
           
 void updatePut(long t)
           
 void updateReplay(long t)
           
 void updateScannerNext(long scanSize)
           
 void updateSplitTime(long t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsRegionServer

public MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper)
Method Detail

getMetricsSource

public MetricsRegionServerSource getMetricsSource()

getRegionServerWrapper

public MetricsRegionServerWrapper getRegionServerWrapper()

updatePut

public void updatePut(long t)

updateDelete

public void updateDelete(long t)

updateGet

public void updateGet(long t)

updateIncrement

public void updateIncrement(long t)

updateAppend

public void updateAppend(long t)

updateReplay

public void updateReplay(long t)

updateScannerNext

public void updateScannerNext(long scanSize)

updateSplitTime

public void updateSplitTime(long t)

incrSplitRequest

public void incrSplitRequest()

incrSplitSuccess

public void incrSplitSuccess()

updateFlushTime

public void updateFlushTime(long t)


Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.