org.apache.hadoop.hbase.thrift
Class MetricsThriftServerSourceImpl
java.lang.Object
org.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.thrift.MetricsThriftServerSourceImpl
- All Implemented Interfaces:
- BaseSource, JvmPauseMonitorSource, MetricsThriftServerSource, MetricsSource
@InterfaceAudience.Private
public class MetricsThriftServerSourceImpl
- extends BaseSourceImpl
- implements MetricsThriftServerSource
Hadoop 2 version of MetricsThriftServerSourceMetricsThriftServerSource
Implements BaseSource through BaseSourceImpl, following the pattern
| Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl |
decGauge, getMetrics, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, removeMetric, setGauge, updateHistogram, updateQuantile |
MetricsThriftServerSourceImpl
public MetricsThriftServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext)
init
public void init()
- Specified by:
init in interface BaseSource- Overrides:
init in class BaseSourceImpl
incTimeInQueue
public void incTimeInQueue(long time)
- Specified by:
incTimeInQueue in interface MetricsThriftServerSource
setCallQueueLen
public void setCallQueueLen(int len)
- Specified by:
setCallQueueLen in interface MetricsThriftServerSource
incNumRowKeysInBatchGet
public void incNumRowKeysInBatchGet(int diff)
- Specified by:
incNumRowKeysInBatchGet in interface MetricsThriftServerSource
incNumRowKeysInBatchMutate
public void incNumRowKeysInBatchMutate(int diff)
- Specified by:
incNumRowKeysInBatchMutate in interface MetricsThriftServerSource
incMethodTime
public void incMethodTime(String name,
long time)
- Specified by:
incMethodTime in interface MetricsThriftServerSource
incCall
public void incCall(long time)
- Specified by:
incCall in interface MetricsThriftServerSource
incSlowCall
public void incSlowCall(long time)
- Specified by:
incSlowCall in interface MetricsThriftServerSource
incInfoThresholdExceeded
public void incInfoThresholdExceeded(int count)
- Specified by:
incInfoThresholdExceeded in interface JvmPauseMonitorSource
incWarnThresholdExceeded
public void incWarnThresholdExceeded(int count)
- Specified by:
incWarnThresholdExceeded in interface JvmPauseMonitorSource
updatePauseTimeWithGc
public void updatePauseTimeWithGc(long t)
- Specified by:
updatePauseTimeWithGc in interface JvmPauseMonitorSource
updatePauseTimeWithoutGc
public void updatePauseTimeWithoutGc(long t)
- Specified by:
updatePauseTimeWithoutGc in interface JvmPauseMonitorSource
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.