|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.JobPriorityChangeEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class JobPriorityChangeEvent
Event to record the change of priority of a job
Constructor Summary | |
---|---|
JobPriorityChangeEvent(JobID id,
JobPriority priority)
Generate an event to record changes in Job priority |
Method Summary | |
---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the event type |
JobID |
getJobId()
Get the Job ID |
JobPriority |
getPriority()
Get the job priority |
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 JobPriorityChangeEvent(JobID id, JobPriority priority)
id
- Job Idpriority
- The new priority of the jobMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object datum)
HistoryEvent
setDatum
in interface HistoryEvent
public JobID getJobId()
public JobPriority getPriority()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |