|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridJobService
A job service is an IGridService that provides job
submission and status querying functionality. It is the interface
to the grid computing resources.
| Method Summary | |
|---|---|
boolean |
canSubmit(IGridJobDescription desc)
Tests if a given job description can be handled (i.e., submitted) by this job service. |
void |
deleteJob(IGridJobID id,
IVirtualOrganization vo,
IProgressMonitor monitor)
Deletes the given job from the server and releases resources on it. |
java.util.Map<java.lang.String,java.net.URI> |
getInputFiles(IGridJobID jobId,
IGridJobDescription jobDescription,
IVirtualOrganization vo)
Get pairs (filename, URI) of input files for job. |
IGridJobStatus |
getJobStatus(IGridJobID id,
IVirtualOrganization vo,
boolean fullStatus,
IProgressMonitor monitor)
Queries the service about the job's status. |
java.util.Map<java.lang.String,java.net.URI> |
getOutputFiles(IGridJobID jobId,
IGridJobDescription jobDescription,
IVirtualOrganization vo)
Get pairs (filename, URI) of output files for job. |
IGridJobID |
submitJob(IGridJobDescription description,
IProgressMonitor monitor)
Submits the given job description to the grid. |
IGridJobID |
submitJob(IGridJobDescription description,
IVirtualOrganization vo,
IProgressMonitor monitor)
Submits the given job description to the grid. |
| Methods inherited from interface eu.geclipse.core.model.IGridResource |
|---|
getHostName, getURI |
| Methods inherited from interface eu.geclipse.core.model.IGridElement |
|---|
dispose, getFileStore, getName, getParent, getPath, getProject, getResource, isHidden, isLocal, isVirtual |
| Method Detail |
|---|
boolean canSubmit(IGridJobDescription desc)
desc - the job description to be tested.
this service, false otherwise.
IGridJobID submitJob(IGridJobDescription description,
IProgressMonitor monitor)
throws ProblemException
description - the job description to be submitted.monitor - Use to monitor progress. May be null.
ProblemException - if submitting the job failed.
IGridJobID submitJob(IGridJobDescription description,
IVirtualOrganization vo,
IProgressMonitor monitor)
throws ProblemException
description - the job description to be submitted.vo - Virtual Organization, to which job is submittedmonitor - Use to monitor progress. May be null.
ProblemException - if submitting the job failed.
IGridJobStatus getJobStatus(IGridJobID id,
IVirtualOrganization vo,
boolean fullStatus,
IProgressMonitor monitor)
throws ProblemException
id - The id of the job whose status has to be queried.vo - Virtual Organization, to which job with passed id belongs tofullStatus - true if all available status information
should be downloaded, false if only basic information
are needed (status type, status name and reason)monitor - Use to monitor progress. May be null.
ProblemException - if the status query failed.
void deleteJob(IGridJobID id,
IVirtualOrganization vo,
IProgressMonitor monitor)
throws ProblemException
id - The id of job, which will be deletedvo - Virtual Organization, to which job with passed id belongs tomonitor - Use to monitor progress. May be null.
ProblemException - if deleting the job failed.
java.util.Map<java.lang.String,java.net.URI> getInputFiles(IGridJobID jobId,
IGridJobDescription jobDescription,
IVirtualOrganization vo)
throws ProblemException
jobId - id of job, for which input files will be returnedjobDescription - job description, which was used to submit jobvo - Virtual Organization, for which job belongs to
null if input files cannot be returned
ProblemException - thrown, when input files cannot be retrieved, because of any error
java.util.Map<java.lang.String,java.net.URI> getOutputFiles(IGridJobID jobId,
IGridJobDescription jobDescription,
IVirtualOrganization vo)
throws ProblemException
jobId - id of job, for which input files will be returnedjobDescription - job description, which was used to submit job.null - in this case only output files, which
can be get without reading job description will be returned.vo - Virtual Organization, for which job belongs to
null if input files
cannot be returned now (because e.g. job status doesn't allow it now).
ProblemException
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||