Package | Description |
---|---|
nl.esciencecenter.xenon.jobs |
This package contains the classes and interfaces used to run jobs.
|
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 . |
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.
|