- scheduleAt(Instant, Runnable) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a one-shot task that becomes enabled at the given instant.
- scheduleAt(Instant, Callable<V>) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a one-shot task that becomes enabled at the given instant.
- scheduleAtFixedRate(long, long, TimeUnit, CronTask) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a periodic action that becomes enabled first after the
given initial delay, and subsequently with the given period;
that is, executions will commence after
initialDelay, then initialDelay + period, then
initialDelay + 2 * period, and so on.
- scheduleAtFixedRateSkippingToLatest(long, long, TimeUnit, CronTask) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a periodic action that becomes enabled first after the
given initial delay, and subsequently with the given period;
that is, executions will commence after
initialDelay, then initialDelay + period, then
initialDelay + 2 * period, and so on; scheduled times will be skipped if there is at
least one other later scheduled time that has already come.
- scheduleAtRoundTimesInDay(Duration, ZoneId, CronTask) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a periodic task that becomes enabled at round clock times within a day, with the
given period, in the given time zone.
- scheduleAtRoundTimesInDaySkippingToLatest(Duration, ZoneId, CronTask) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Submits a periodic task that becomes enabled at round clock times within a day, with the
given period, in the given time zone, skipping scheduled times if there is at least one other
later scheduled time that has already come.
- setBackwardTimeShiftLogger(Consumer<String>) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
-
Sets the logger to log detected backward time shift events.
- setThreadFactory(ThreadFactory) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
-
Sets the thread factory to be used to create the
CronScheduler's thread.
- setThreadName(String) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
-
- setThreadPriority(int) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
-
- setTimeProvider(Clock) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
-
Sets the time provider to be used in
CronScheduler(s) created with this builder.
- shutdown(OneShotTasksShutdownPolicy) - Method in class io.timeandspace.cronscheduler.CronScheduler
-
Initiates an orderly shutdown in which previously submitted
tasks are executed, but no new tasks will be accepted.