Skip navigation links
A B C I N O R S V 

A

asScheduledExecutorService() - Method in class io.timeandspace.cronscheduler.CronScheduler
Returns an adapter of this CronScheduler to ScheduledExecutorService interface.

B

build() - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
Creates and returns a new CronScheduler using this builder.

C

create(Duration) - Static method in class io.timeandspace.cronscheduler.CronScheduler
Creates and returns a new CronScheduler with the given sync period.
CronScheduler - Class in io.timeandspace.cronscheduler
CronScheduler is a facility to schedule periodic or one-shot tasks at specified times.
CronSchedulerBuilder - Class in io.timeandspace.cronscheduler
A builder for CronScheduler.
CronTask - Interface in io.timeandspace.cronscheduler
An interface for periodic tasks run by CronScheduler.

I

io.timeandspace.cronscheduler - package io.timeandspace.cronscheduler
See the documentation for CronScheduler for an overview.
isThreadRunning() - Method in class io.timeandspace.cronscheduler.CronScheduler
Returns true if the scheduler thread is currently running.

N

newBuilder(Duration) - Static method in class io.timeandspace.cronscheduler.CronScheduler
Creates and returns a new CronSchedulerBuilder which can be used to build CronSchedulers with the given sync period.

O

OneShotTasksShutdownPolicy - Enum in io.timeandspace.cronscheduler
This policy controls whether one-shot tasks already submitted to CronScheduler when CronScheduler.shutdown is called should be executed or discarded.

R

run(long) - Method in interface io.timeandspace.cronscheduler.CronTask
Runs the periodic task.

S

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
Sets the name for the CronScheduler's thread.
setThreadPriority(int) - Method in class io.timeandspace.cronscheduler.CronSchedulerBuilder
Sets the thread priority for the CronScheduler's thread.
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.

V

valueOf(String) - Static method in enum io.timeandspace.cronscheduler.OneShotTasksShutdownPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.timeandspace.cronscheduler.OneShotTasksShutdownPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
A B C I N O R S V 
Skip navigation links