RpcDetailedMetrics (Hadoop 0.20.2-cdh3u4 API)
Date: 2012-05-07

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary
`MetricsRegistry` | `registry`

Constructor Summary
`RpcDetailedMetrics(String hostName, String port)`

Method Summary
`void` | `doUpdates(MetricsContext context)` Push the metrics to the monitoring subsystem on doUpdate() call.
`void` | `shutdown()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### registry

    public final MetricsRegistry registry

Constructor Detail

### RpcDetailedMetrics

    public RpcDetailedMetrics(String hostName,
                              String port)

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation