public interface JobStatusUpdater
OpenGridService
. Implementors may register
with the OpenGridService.asyncJobStatusUpdate(JobIdentifier, JobStatusUpdater)
and they will get called during the next job status update.
If the JobIdentifier
specifies an existing cluster, the implementor will be
provided with an open SSH session to that cluster. Otherwise the session parameter is
null.
All other information that the updater is needing must be taken care of externally.
If the job identifier also identifies a BASE job and a status update is returned that
service will make sure that the job is updates and that the JobCompletionHandler
extension is invoked.Modifier and Type | Method and Description |
---|---|
JobStatus |
getJobStatus(OpenGridSession session,
JobIdentifier jobId)
A request for status information about the identified job.
|
JobStatus getJobStatus(OpenGridSession session, JobIdentifier jobId)
session
- A connected session to an Open Grid Cluster (or null if the jobId doesn't specify a cluster)jobId
- An identifier for the job