|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.server.tasktracker.userlogs.UserLogEvent
org.apache.hadoop.mapreduce.server.tasktracker.userlogs.JobCompletedEvent
public class JobCompletedEvent
This is an UserLogEvent
sent when the job completes
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.server.tasktracker.userlogs.UserLogEvent |
---|
UserLogEvent.EventType |
Constructor Summary | |
---|---|
JobCompletedEvent(JobID jobid,
long jobCompletionTime,
int retainHours)
Create the event for job completion. |
Method Summary | |
---|---|
long |
getJobCompletionTime()
Get the job completion time-stamp in milli-seconds. |
JobID |
getJobID()
Get the job id. |
int |
getRetainHours()
Get the number of hours for which job logs should be retained. |
Methods inherited from class org.apache.hadoop.mapreduce.server.tasktracker.userlogs.UserLogEvent |
---|
getEventType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobCompletedEvent(JobID jobid, long jobCompletionTime, int retainHours)
jobid
- The completed JobID
.jobCompletionTime
- The job completion time.retainHours
- The number of hours for which the job logs should be retainedMethod Detail |
---|
public JobID getJobID()
JobID
public long getJobCompletionTime()
public int getRetainHours()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |