org.apache.hadoop.mapreduce.v2.app.webapp.dao
Class TaskInfo

java.lang.Object
  extended by org.apache.hadoop.mapreduce.v2.app.webapp.dao.TaskInfo

public class TaskInfo
extends Object


Field Summary
protected  long elapsedTime
           
protected  long finishTime
           
protected  String id
           
protected  float progress
           
protected  long startTime
           
protected  org.apache.hadoop.mapreduce.v2.api.records.TaskState state
           
protected  String successfulAttempt
           
protected  String type
           
 
Constructor Summary
TaskInfo()
           
TaskInfo(Task task)
           
 
Method Summary
 long getElapsedTime()
           
 long getFinishTime()
           
 String getId()
           
 float getProgress()
           
 long getStartTime()
           
 String getState()
           
 TaskAttempt getSuccessful()
           
 String getSuccessfulAttempt()
           
 int getTaskNum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startTime

protected long startTime

finishTime

protected long finishTime

elapsedTime

protected long elapsedTime

progress

protected float progress

id

protected String id

state

protected org.apache.hadoop.mapreduce.v2.api.records.TaskState state

type

protected String type

successfulAttempt

protected String successfulAttempt
Constructor Detail

TaskInfo

public TaskInfo()

TaskInfo

public TaskInfo(Task task)
Method Detail

getProgress

public float getProgress()

getState

public String getState()

getId

public String getId()

getTaskNum

public int getTaskNum()

getStartTime

public long getStartTime()

getFinishTime

public long getFinishTime()

getElapsedTime

public long getElapsedTime()

getSuccessfulAttempt

public String getSuccessfulAttempt()

getSuccessful

public TaskAttempt getSuccessful()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.