Package | Description |
---|---|
org.clazzes.util.sched | |
org.clazzes.util.sched.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
IJobStatusWithCallback<C>
A status for a job, offering a callback for getting more application-specific
information about the job status.
|
Modifier and Type | Method and Description |
---|---|
IJobStatus |
IOneTimeScheduler.cancelJob(UUID jobId,
boolean mayInterrupt)
Cancels the given job.
|
IJobStatus |
IOneTimeScheduler.getJobStatus(UUID jobId)
Query the job status, if the scheduled job implemented
HasCallback ,
the returned status will be an instance of IJobStatusWithCallback . |
IJobStatus |
IOneTimeScheduler.purgeResult(UUID jobId)
Purges the results of the given job.
|
IJobStatus |
IOneTimeScheduler.waitForFinish(UUID jobId)
Waits until the given job has finished.
|
IJobStatus |
IOneTimeScheduler.waitForFinish(UUID jobId,
long timeoutMillis)
Waits until the given job has finished, but no longer than the given timeout.
|
Modifier and Type | Method and Description |
---|---|
IJobStatus |
OneTimeSchedulerImpl.cancelJob(UUID jobId,
boolean mayInterrupt) |
IJobStatus |
InterceptedOneTimeScheduler.cancelJob(UUID jobId,
boolean mayInterrupt) |
IJobStatus |
OneTimeSchedulerImpl.getJobStatus(UUID jobId) |
IJobStatus |
InterceptedOneTimeScheduler.getJobStatus(UUID jobId) |
IJobStatus |
OneTimeSchedulerImpl.purgeResult(UUID jobId) |
IJobStatus |
InterceptedOneTimeScheduler.purgeResult(UUID jobId) |
IJobStatus |
OneTimeSchedulerImpl.waitForFinish(UUID jobId) |
IJobStatus |
InterceptedOneTimeScheduler.waitForFinish(UUID jobId) |
IJobStatus |
OneTimeSchedulerImpl.waitForFinish(UUID jobId,
long timeoutMillis) |
IJobStatus |
InterceptedOneTimeScheduler.waitForFinish(UUID jobId,
long timeoutMillis) |
Copyright © 2014 Clazzes.org. All Rights Reserved.