Package | Description |
---|---|
nl.esciencecenter.xenon.jobs |
This package contains the classes and interfaces used to run jobs.
|
nl.esciencecenter.xenon.util |
This package is contains several utility classes.
|
Modifier and Type | Method and Description |
---|---|
Scheduler |
Job.getScheduler()
Returns the
Scheduler that was used to create this Job. |
Scheduler |
QueueStatus.getScheduler()
Get the Scheduler that produced this QueueStatus.
|
Scheduler |
Jobs.newScheduler(String scheme,
String location,
Credential credential,
Map<String,String> properties)
Create a new Scheduler that represents a (possibly remote) job scheduler at the
location , using the
scheme and credentials to get access. |
Modifier and Type | Method and Description |
---|---|
void |
Jobs.close(Scheduler scheduler)
Close a Scheduler.
|
String |
Jobs.getDefaultQueueName(Scheduler scheduler)
Get the name of the default queue for the
scheduler . |
Job[] |
Jobs.getJobs(Scheduler scheduler,
String... queueNames)
Get all jobs currently in (one ore more) queues of
scheduler . |
QueueStatus |
Jobs.getQueueStatus(Scheduler scheduler,
String queueName)
Get the status of the
queue of scheduler . |
QueueStatus[] |
Jobs.getQueueStatuses(Scheduler scheduler,
String... queueNames)
Get the status of all
queues of scheduler . |
boolean |
Jobs.isOpen(Scheduler scheduler)
Test if a Scheduler is open.
|
Job |
Jobs.submitJob(Scheduler scheduler,
JobDescription description)
Submit a job to a Scheduler.
|
Modifier and Type | Method and Description |
---|---|
static Scheduler |
Utils.getLocalScheduler(Jobs jobs)
Returns a
Scheduler that can be used to run jobs locally. |
static Scheduler |
Utils.newScheduler(Jobs jobs,
String scheme)
Create a
Scheduler for the given scheme, but without using a location, credential, or properties. |