@InterfaceAudience.Private @InterfaceStability.Unstable public class JobPriorityChangeEvent extends Object implements HistoryEvent
Constructor and Description |
---|
JobPriorityChangeEvent(JobID id,
JobPriority priority)
Generate an event to record changes in Job priority
|
Modifier and Type | Method and Description |
---|---|
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.
|
public JobPriorityChangeEvent(JobID id, JobPriority priority)
id
- Job Idpriority
- The new priority of the jobpublic 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
Copyright © 2016 Apache Software Foundation. All Rights Reserved.