| Package | Description |
|---|---|
| com.coreoz.wisp |
| Modifier and Type | Method and Description |
|---|---|
Job |
Scheduler.schedule(Runnable runnable,
Schedule when)
Schedule the executions of a process.
|
Job |
Scheduler.schedule(String nullableName,
Runnable runnable,
Schedule when)
Schedule the executions of a process.
|
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<Job> |
Scheduler.cancel(String jobName)
Issue a cancellation order for a job and
returns immediately a promise that enables to follow the job cancellation status
If the job is running, the scheduler will wait until it is finished to remove it from the jobs pool. |
Optional<Job> |
Scheduler.findJob(String name)
Find a job by its name
|
Collection<Job> |
Scheduler.jobStatus()
Fetch the status of all the jobs that has been registered on the
Scheduler
including the JobStatus.DONE jobs |
Copyright © 2023 Coreoz. All rights reserved.