Package | Description |
---|---|
nl.esciencecenter.xenon.jobs |
This package contains the classes and interfaces used to run jobs.
|
Modifier and Type | Method and Description |
---|---|
Job |
Streams.getJob()
Get the job for which this Streams was created.
|
Job |
JobStatus.getJob()
Get the job for which this JobStatus was created.
|
Job[] |
Jobs.getJobs(Scheduler scheduler,
String... queueNames)
Get all jobs currently in (one ore more) queues of
scheduler . |
Job |
Jobs.submitJob(Scheduler scheduler,
JobDescription description)
Submit a job to a Scheduler.
|
Modifier and Type | Method and Description |
---|---|
JobStatus |
Jobs.cancelJob(Job job)
Cancel a job.
|
JobStatus |
Jobs.getJobStatus(Job job)
Get the status of a Job.
|
JobStatus[] |
Jobs.getJobStatuses(Job... jobs)
Get the status of all specified
jobs . |
Streams |
Jobs.getStreams(Job job)
Returns the standard streams of a job.
|
JobStatus |
Jobs.waitUntilDone(Job job,
long timeout)
Wait until a job is done or until a timeout expires.
|
JobStatus |
Jobs.waitUntilRunning(Job job,
long timeout)
Wait for as long a job is waiting in a queue, or until a timeout expires.
|