@Alias(value="scheduling-strategy") @NoImplement public interface Scheduler
Scheduler
for executing jobs.Modifier and Type | Method and Description |
---|---|
ScheduledFuture<?> |
schedule(Scheduler executor,
Runnable job)
Schedules a job.
|
ScheduledFuture<?> schedule(Scheduler executor, Runnable job)
executor
- the corresponding Scheduler
instance.job
- The Runnable
job that has to be executed.NullPointerException
- In case the scheduled job handler is null.Copyright © 2018. All rights reserved.