org.apache.hadoop.mapreduce
Class StatusReporter

java.lang.Object
  extended by org.apache.hadoop.mapreduce.StatusReporter
Direct Known Subclasses:
Task.TaskReporter

public abstract class StatusReporter
extends Object


Constructor Summary
StatusReporter()
           
 
Method Summary
abstract  Counter getCounter(Enum<?> name)
           
abstract  Counter getCounter(String group, String name)
           
abstract  float getProgress()
          Get the current progress.
abstract  void progress()
           
abstract  void setStatus(String status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusReporter

public StatusReporter()
Method Detail

getCounter

public abstract Counter getCounter(Enum<?> name)

getCounter

public abstract Counter getCounter(String group,
                                   String name)

progress

public abstract void progress()

getProgress

public abstract float getProgress()
Get the current progress.

Returns:
a number between 0.0 and 1.0 (inclusive) indicating the attempt's progress.

setStatus

public abstract void setStatus(String status)


Copyright © 2009 The Apache Software Foundation