org.apache.hadoop.ipc.metrics
Class RpcDetailedMetrics
java.lang.Object
org.apache.hadoop.ipc.metrics.RpcDetailedMetrics
- All Implemented Interfaces:
- Updater
public class RpcDetailedMetrics
- extends Object
- implements Updater
This class is for maintaining the various RPC method related statistics
and publishing them through the metrics interfaces.
This also registers the JMX MBean for RPC.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registry
public final MetricsRegistry registry
RpcDetailedMetrics
public RpcDetailedMetrics(String hostName,
String port)
doUpdates
public void doUpdates(MetricsContext context)
- Push the metrics to the monitoring subsystem on doUpdate() call.
- Specified by:
doUpdates in interface Updater
shutdown
public void shutdown()
Copyright © 2009 The Apache Software Foundation