org.apache.hadoop.mapred
Class ReduceTask.ReduceCopier.ShuffleClientMetrics

java.lang.Object
  extended by org.apache.hadoop.mapred.ReduceTask.ReduceCopier.ShuffleClientMetrics
All Implemented Interfaces:
org.apache.hadoop.metrics.Updater
Enclosing class:
ReduceTask.ReduceCopier<K,V>

public class ReduceTask.ReduceCopier.ShuffleClientMetrics
extends java.lang.Object
implements org.apache.hadoop.metrics.Updater

This class contains the methods that should be used for metrics-reporting the specific metrics for shuffle. This class actually reports the metrics for the shuffle client (the ReduceTask), and hence the name ShuffleClientMetrics.


Method Summary
 void doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
           
 void failedFetch()
           
 void inputBytes(long numBytes)
           
 void successFetch()
           
 void threadBusy()
           
 void threadFree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

inputBytes

public void inputBytes(long numBytes)

failedFetch

public void failedFetch()

successFetch

public void successFetch()

threadBusy

public void threadBusy()

threadFree

public void threadFree()

doUpdates

public void doUpdates(org.apache.hadoop.metrics.MetricsContext unused)
Specified by:
doUpdates in interface org.apache.hadoop.metrics.Updater


Copyright © 2009 The Apache Software Foundation