org.apache.hadoop.mapreduce.jobhistory
Class JobInfoChangeEvent

java.lang.Object
  extended by org.apache.hadoop.mapreduce.jobhistory.JobInfoChangeEvent
All Implemented Interfaces:
HistoryEvent

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JobInfoChangeEvent
extends Object
implements HistoryEvent

Event to record changes in the submit and launch time of a job


Constructor Summary
JobInfoChangeEvent(JobID id, long submitTime, long launchTime)
          Create a event to record the submit and launch time of a job
 
Method Summary
 Object getDatum()
          Return the Avro datum wrapped by this.
 EventType getEventType()
          Return this event's type.
 JobID getJobId()
          Get the Job ID
 long getLaunchTime()
          Get the Job launch time
 long getSubmitTime()
          Get the Job submit time
 void setDatum(Object datum)
          Set the Avro datum wrapped by this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobInfoChangeEvent

public JobInfoChangeEvent(JobID id,
                          long submitTime,
                          long launchTime)
Create a event to record the submit and launch time of a job

Parameters:
id - Job Id
submitTime - Submit time of the job
launchTime - Launch time of the job
Method Detail

getDatum

public Object getDatum()
Description copied from interface: HistoryEvent
Return the Avro datum wrapped by this.

Specified by:
getDatum in interface HistoryEvent

setDatum

public void setDatum(Object datum)
Description copied from interface: HistoryEvent
Set the Avro datum wrapped by this.

Specified by:
setDatum in interface HistoryEvent

getJobId

public JobID getJobId()
Get the Job ID


getSubmitTime

public long getSubmitTime()
Get the Job submit time


getLaunchTime

public long getLaunchTime()
Get the Job launch time


getEventType

public EventType getEventType()
Description copied from interface: HistoryEvent
Return this event's type.

Specified by:
getEventType in interface HistoryEvent


Copyright © 2013 Apache Software Foundation. All Rights Reserved.