public interface Scheduling extends Component
| Modifier and Type | Interface and Description |
|---|---|
static class |
Scheduling.CreateOption |
static class |
Scheduling.ScheduleOption |
| Modifier and Type | Method and Description |
|---|---|
boolean |
schedule(String name,
Runnable lambda,
Map<Scheduling.ScheduleOption,Object> options) |
Set<String> |
scheduledJobs() |
boolean |
unschedule(String name) |
boolean schedule(String name, Runnable lambda, Map<Scheduling.ScheduleOption,Object> options) throws Exception
name - lambda - options - cron - String
at - java.util.Date
every - ms
in - ms
limit - int
until - java.util.Date
singletonExceptionboolean unschedule(String name) throws Exception
name - ExceptionCopyright © 2015. All Rights Reserved.