org.apache.hadoop.mapreduce.jobhistory
Interface HistoryEvent

All Known Implementing Classes:
AMStartedEvent, JobFinishedEvent, JobInfoChangeEvent, JobInitedEvent, JobPriorityChangeEvent, JobStatusChangedEvent, JobSubmittedEvent, JobUnsuccessfulCompletionEvent, MapAttemptFinishedEvent, NormalizedResourceEvent, ReduceAttemptFinishedEvent, TaskAttemptFinishedEvent, TaskAttemptStartedEvent, TaskAttemptUnsuccessfulCompletionEvent, TaskFailedEvent, TaskFinishedEvent, TaskStartedEvent, TaskUpdatedEvent

@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface HistoryEvent

Interface for event wrapper classes. Implementations each wrap an Avro-generated class, adding constructors and accessor methods.


Method Summary
 Object getDatum()
          Return the Avro datum wrapped by this.
 EventType getEventType()
          Return this event's type.
 void setDatum(Object datum)
          Set the Avro datum wrapped by this.
 

Method Detail

getEventType

EventType getEventType()
Return this event's type.


getDatum

Object getDatum()
Return the Avro datum wrapped by this.


setDatum

void setDatum(Object datum)
Set the Avro datum wrapped by this.



Copyright © 2013 Apache Software Foundation. All Rights Reserved.