public class AgentMetrics extends Object implements org.apache.hadoop.metrics.Updater
| Modifier and Type | Field and Description | 
|---|---|
| org.apache.hadoop.metrics.util.MetricsIntValue | adaptorCount | 
| org.apache.hadoop.metrics.util.MetricsTimeVaryingInt | addedAdaptor | 
| static AgentMetrics | agentMetrics | 
| org.apache.hadoop.metrics.util.MetricsRegistry | registry | 
| org.apache.hadoop.metrics.util.MetricsTimeVaryingInt | removedAdaptor | 
| Constructor and Description | 
|---|
| AgentMetrics(String processName,
            String recordName)Creates a new instance of AgentMetrics | 
public static final AgentMetrics agentMetrics
public org.apache.hadoop.metrics.util.MetricsRegistry registry
public org.apache.hadoop.metrics.util.MetricsIntValue adaptorCount
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt addedAdaptor
public org.apache.hadoop.metrics.util.MetricsTimeVaryingInt removedAdaptor
public void doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
doUpdates in interface org.apache.hadoop.metrics.Updaterpublic void shutdown()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.