org.gridlab.gat.resources
Interface CoScheduleJob

All Superinterfaces:
Advertisable, Job, Monitorable, Serializable

public interface CoScheduleJob
extends Job

An instance of this class represents a coschedule job. A coschedule job will be returned by a submitJob invocation with a CoScheduleJobDescription. The CoScheduleJob is an object that has multiple Jobs which were coallocated. A single Job out of this collection can be retrieved using the getJob(JobDescription) method.

Author:
rkemp

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gridlab.gat.resources.Job
Job.JobState
 
Field Summary
 
Fields inherited from interface org.gridlab.gat.resources.Job
ADAPTOR_JOB_ID, HOSTNAME, POSTSTAGE_EXCEPTION, STARTTIME, STATE, STOPTIME, SUBMISSIONTIME
 
Method Summary
 Job getJob(JobDescription description)
          Returns a Job corresponding to the JobDescription.
 
Methods inherited from interface org.gridlab.gat.resources.Job
checkpoint, cloneJob, getExitStatus, getInfo, getJobDescription, getJobID, getState, getStderr, getStdin, getStdout, hold, migrate, migrate, resume, stop, toString, unSchedule
 
Methods inherited from interface org.gridlab.gat.monitoring.Monitorable
addMetricListener, getMeasurement, getMetricDefinitionByName, getMetricDefinitions, removeMetricListener
 
Methods inherited from interface org.gridlab.gat.advert.Advertisable
marshal
 

Method Detail

getJob

Job getJob(JobDescription description)
Returns a Job corresponding to the JobDescription.

Parameters:
description - the description of the job
Returns:
a Job corresponding to the JobDescription, or null if no Job corresponds to the JobDescription