@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.Modifier and Type | Field and Description |
---|---|
private MetricsRegionServerWrapper |
regionServerWrapper |
private MetricsRegionServerSource |
serverSource |
Constructor and Description |
---|
MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper) |
MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper,
MetricsRegionServerSource serverSource) |
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) |
private MetricsRegionServerSource serverSource
private MetricsRegionServerWrapper regionServerWrapper
public MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper)
MetricsRegionServer(MetricsRegionServerWrapper regionServerWrapper, MetricsRegionServerSource serverSource)
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–2019 The Apache Software Foundation. All rights reserved.