Package io.github.zero88.schedulerx
Interface CronScheduler
- All Superinterfaces:
HasVertx
,Scheduler<CronTrigger>
A timebase scheduler supports the cron-like scheduling.
- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <IN,
OUT> CronSchedulerBuilder<IN, OUT> builder()
void
cancel()
Cancel schedulervoid
start()
Start and run thescheduler
inVertx worker thread pool
.void
start
(io.vertx.core.WorkerExecutor workerExecutor) Start and run thescheduler
in a dedicated thread pool that is provided by a customized worker executor@NotNull CronTrigger
trigger()
@NotNull io.vertx.core.Vertx
vertx()
Vertx
-
Method Details
-
builder
-
vertx
@NotNull @NotNull io.vertx.core.Vertx vertx()Description copied from interface:HasVertx
Vertx -
trigger
-
start
void start()Description copied from interface:Scheduler
Start and run thescheduler
inVertx worker thread pool
.- Specified by:
start
in interfaceScheduler<CronTrigger>
-
start
void start(io.vertx.core.WorkerExecutor workerExecutor) Description copied from interface:Scheduler
Start and run thescheduler
in a dedicated thread pool that is provided by a customized worker executor- Specified by:
start
in interfaceScheduler<CronTrigger>
- Parameters:
workerExecutor
- worker executor- See Also:
-
WorkerExecutor
-
cancel
void cancel()Description copied from interface:Scheduler
Cancel scheduler- Specified by:
cancel
in interfaceScheduler<CronTrigger>
-