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
|
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.Updater
public void shutdown()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.