com.sun.grid.jgrid.server
Interface JCEPLogListener


public interface JCEPLogListener


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 notifyJobComplete(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

logMessage

public void logMessage(java.lang.String jobId,
                       java.lang.String message)
Log a message.

Parameters:
message - The text of the message

logError

public void logError(java.lang.String jobId,
                     java.lang.String error)
Log an error.

Parameters:
error - The text of the error message

notifyJobStarted

public void notifyJobStarted(java.lang.String jobId)
Log that the job has started executing.


notifyJobComplete

public void notifyJobComplete(java.lang.String jobId)
Log that the job has completed execution normally.


notifyJobCheckpointed

public void notifyJobCheckpointed(java.lang.String jobId)
Log that the job has been checkpointed.


notifyJobStopped

public void notifyJobStopped(java.lang.String jobId)
Log that the job has been stopped prior to completing.


notifyJobFailed

public void notifyJobFailed(java.lang.String jobId)
Log that the job has exited prior to completing.


notifyJobSuspended

public void notifyJobSuspended(java.lang.String jobId)
Log that the job has been suspended.


notifyJobResumed

public void notifyJobResumed(java.lang.String jobId)
Log that the job has been resumed.