|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.NormalizedResourceEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class NormalizedResourceEvent
Event to record the normalized map/reduce requirements.
| Constructor Summary | |
|---|---|
NormalizedResourceEvent(TaskType taskType,
int memory)
Normalized request when sent to the Resource Manager. |
|
| Method Summary | |
|---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Return this event's type. |
int |
getMemory()
the normalized memory |
TaskType |
getTaskType()
the tasktype for the event. |
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 NormalizedResourceEvent(TaskType taskType,
int memory)
taskType - the tasktype of the request.memory - the normalized memory requirements.| Method Detail |
|---|
public TaskType getTaskType()
public int getMemory()
public EventType getEventType()
HistoryEvent
getEventType in interface HistoryEventpublic Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEvent
setDatum in interface HistoryEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||