|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes classes which can listen to the information passed to the Logger by the Job.
Logger
Method Summary | |
void |
logError(java.lang.String jobId,
java.lang.String error)
Log an error. |
void |
logMessage(java.lang.String jobId,
java.lang.String message)
Log a message. |
void |
notifyJobCheckpointed(java.lang.String jobId)
Log that the job has been checkpointed. |
void |
notifyJobCompleted(java.lang.String jobId)
Log that the job has completed execution normally. |
void |
notifyJobFailed(java.lang.String jobId)
Log that the job has exited prior to completing. |
void |
notifyJobResumed(java.lang.String jobId)
Log that the job has been resumed. |
void |
notifyJobStarted(java.lang.String jobId)
Log that the job has started executing. |
void |
notifyJobStopped(java.lang.String jobId)
Log that the job has been stopped prior to completing. |
void |
notifyJobSuspended(java.lang.String jobId)
Log that the job has been suspended. |
Method Detail |
public void logMessage(java.lang.String jobId, java.lang.String message)
jobId
- The id of the job for which this message is being loggedmessage
- The text of the messagepublic void logError(java.lang.String jobId, java.lang.String error)
jobId
- The id of the job for which this error is being loggederror
- The text of the error messagepublic void notifyJobStarted(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobCompleted(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobCheckpointed(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobStopped(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobFailed(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobSuspended(java.lang.String jobId)
jobId
- The id of the job for which this message is being loggedpublic void notifyJobResumed(java.lang.String jobId)
jobId
- The id of the job for which this message is being logged
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |