|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.metrics.BaseSourceImpl
org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceImpl
public class MetricsRegionServerSourceImpl
Hadoop2 implementation of MetricsRegionServerSource. Implements BaseSource through BaseSourceImpl, following the pattern
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl |
|---|
metricsContext, metricsDescription, metricsJmxContext, metricsName, metricsRegistry |
| Fields inherited from interface org.apache.hadoop.hbase.metrics.BaseSource |
|---|
HBASE_METRICS_SYSTEM_NAME |
| Constructor Summary | |
|---|---|
MetricsRegionServerSourceImpl(MetricsRegionServerWrapper rsWrap)
|
|
MetricsRegionServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsRegionServerWrapper rsWrap)
|
|
| Method Summary | |
|---|---|
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
Yes this is a get function that doesn't return anything. |
void |
incrSlowAppend()
Increment the number of slow Appends that have happened. |
void |
incrSlowDelete()
Increment the number of slow Deletes that have happened. |
void |
incrSlowGet()
Increment the number of slow Gets that have happened. |
void |
incrSlowIncrement()
Increment the number of slow Increments that have happened. |
void |
incrSlowPut()
Increment the number of slow Puts that have happened. |
void |
updateAppend(long t)
Update the Append time histogram. |
void |
updateDelete(long t)
Update the Delete time histogram |
void |
updateGet(long t)
Update the Get time histogram . |
void |
updateIncrement(long t)
Update the Increment time histogram. |
void |
updatePut(long t)
Update the Put time histogram |
void |
updateReplay(long t)
Update the Replay time histogram. |
| Methods inherited from class org.apache.hadoop.hbase.metrics.BaseSourceImpl |
|---|
decGauge, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, getMetricsRegistry, incCounters, incGauge, init, 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, init, removeMetric, setGauge, updateHistogram, updateQuantile |
| Constructor Detail |
|---|
public MetricsRegionServerSourceImpl(MetricsRegionServerWrapper rsWrap)
public MetricsRegionServerSourceImpl(String metricsName,
String metricsDescription,
String metricsContext,
String metricsJmxContext,
MetricsRegionServerWrapper rsWrap)
| Method Detail |
|---|
public void updatePut(long t)
MetricsRegionServerSource
updatePut in interface MetricsRegionServerSourcet - time it tookpublic void updateDelete(long t)
MetricsRegionServerSource
updateDelete in interface MetricsRegionServerSourcet - time it tookpublic void updateGet(long t)
MetricsRegionServerSource
updateGet in interface MetricsRegionServerSourcet - time it tookpublic void updateIncrement(long t)
MetricsRegionServerSource
updateIncrement in interface MetricsRegionServerSourcet - time it tookpublic void updateAppend(long t)
MetricsRegionServerSource
updateAppend in interface MetricsRegionServerSourcet - time it tookpublic void updateReplay(long t)
MetricsRegionServerSource
updateReplay in interface MetricsRegionServerSourcet - time it tookpublic void incrSlowPut()
MetricsRegionServerSource
incrSlowPut in interface MetricsRegionServerSourcepublic void incrSlowDelete()
MetricsRegionServerSource
incrSlowDelete in interface MetricsRegionServerSourcepublic void incrSlowGet()
MetricsRegionServerSource
incrSlowGet in interface MetricsRegionServerSourcepublic void incrSlowIncrement()
MetricsRegionServerSource
incrSlowIncrement in interface MetricsRegionServerSourcepublic void incrSlowAppend()
MetricsRegionServerSource
incrSlowAppend in interface MetricsRegionServerSource
public void getMetrics(org.apache.hadoop.metrics2.MetricsCollector metricsCollector,
boolean all)
getMetrics in interface org.apache.hadoop.metrics2.MetricsSourcegetMetrics in class BaseSourceImplmetricsCollector - Collector to accept metricsall - push all or only changed?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||