org.apache.hadoop.ipc.metrics
Class RpcInstrumentation.Detailed

java.lang.Object
  extended by org.apache.hadoop.metrics2.lib.AbstractMetricsSource
      extended by org.apache.hadoop.ipc.metrics.RpcInstrumentation.Detailed
All Implemented Interfaces:
MetricsSource
Enclosing class:
RpcInstrumentation

public static class RpcInstrumentation.Detailed
extends AbstractMetricsSource

Use a separate source for detailed (per call) RPC metrics for easy and efficient filtering


Field Summary
 
Fields inherited from class org.apache.hadoop.metrics2.lib.AbstractMetricsSource
registry
 
Method Summary
 void addRpcProcessingTime(String methodName, int processingTime)
           
 
Methods inherited from class org.apache.hadoop.metrics2.lib.AbstractMetricsSource
getMetrics, registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addRpcProcessingTime

public void addRpcProcessingTime(String methodName,
                                 int processingTime)


Copyright © 2009 The Apache Software Foundation