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()voidcancel()Cancel schedulervoidstart()Start and run theschedulerinVertx worker thread pool.voidstart(io.vertx.core.WorkerExecutor workerExecutor) Start and run theschedulerin a dedicated thread pool that is provided by a customized worker executor@NotNull CronTriggertrigger()@NotNull io.vertx.core.Vertxvertx()Vertx
-
Method Details
-
builder
-
vertx
@NotNull @NotNull io.vertx.core.Vertx vertx()Description copied from interface:HasVertxVertx -
trigger
-
start
void start()Description copied from interface:SchedulerStart and run theschedulerinVertx worker thread pool.- Specified by:
startin interfaceScheduler<CronTrigger>
-
start
void start(io.vertx.core.WorkerExecutor workerExecutor) Description copied from interface:SchedulerStart and run theschedulerin a dedicated thread pool that is provided by a customized worker executor- Specified by:
startin interfaceScheduler<CronTrigger>- Parameters:
workerExecutor- worker executor- See Also:
-
WorkerExecutor
-
cancel
void cancel()Description copied from interface:SchedulerCancel scheduler- Specified by:
cancelin interfaceScheduler<CronTrigger>
-