@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 and Description |
---|
MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper) |
Modifier and Type | Method and Description |
---|---|
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) |
public MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper)
public MetricsRegionServerSource getMetricsSource()
public MetricsRegionServerWrapper getRegionServerWrapper()
public void updatePut(long t)
public void updateDelete(long t)
public void updateGet(long t)
public void updateIncrement(long t)
public void updateAppend(long t)
public void updateReplay(long t)
public void updateScannerNext(long scanSize)
public void updateSplitTime(long t)
public void incrSplitRequest()
public void incrSplitSuccess()
public void updateFlushTime(long t)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.