|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.JobStatusChangedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class JobStatusChangedEvent
Event to record the change of status for a job
Constructor Summary | |
---|---|
JobStatusChangedEvent(JobID id,
String jobStatus)
Create an event to record the change in the Job Status |
Method Summary | |
---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the event type |
JobID |
getJobId()
Get the Job Id |
String |
getStatus()
Get the event status |
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 |
---|
public JobStatusChangedEvent(JobID id, String jobStatus)
id
- Job IDjobStatus
- The new job statusMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public JobID getJobId()
public String getStatus()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |