public class HttpSenderMetrics extends Object implements org.apache.hadoop.metrics.Updater
| Modifier and Type | Field and Description |
|---|---|
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
collectorRollover |
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
httpException |
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
httpPost |
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
httpThrowable |
org.apache.hadoop.metrics.util.MetricsTimeVaryingInt |
httpTimeOutException |
org.apache.hadoop.metrics.util.MetricsRegistry |
registry |
| Constructor and Description |
|---|
HttpSenderMetrics(String processName,
String recordName)
Creates a new instance of HttpSenderMetrics
|
| Modifier and Type | Method and Description |
|---|---|
void |
doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
Since this object is a registered updater, this method will be called
periodically, e.g.
|
void |
shutdown() |
public org.apache.hadoop.metrics.util.MetricsRegistry registry
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt collectorRollover
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt httpPost
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt httpException
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt httpThrowable
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt httpTimeOutException
public void doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
doUpdates in interface org.apache.hadoop.metrics.Updaterpublic void shutdown()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.