Uses of Interface
org.openhab.core.scheduler.ScheduledCompletableFuture
-
Uses of ScheduledCompletableFuture in org.openhab.core.scheduler
Modifier and TypeMethodDescriptionReturn aScheduledCompletableFuture
that will resolve after the given duration.<T> ScheduledCompletableFuture
<T> Return aScheduledCompletableFuture
that resolves after delaying with the result of the call that is executed after the delay.Return aScheduledCompletableFuture
that resolves at the given epochTime<T> ScheduledCompletableFuture
<T> Return aScheduledCompletableFuture
that resolves at the given epochTime with the result of the call.default ScheduledCompletableFuture
<@Nullable Void> Scheduler.at
(SchedulerRunnable runnable, Instant instant) Return aScheduledCompletableFuture
that resolves at the given epochTime and runs the runnable.<T> ScheduledCompletableFuture
<T> Scheduler.before
(CompletableFuture<T> promise, Duration timeout) Return aScheduledCompletableFuture
that fails with aTimeoutException
when the givenCompletableFuture
is not resolved before the given timeout.Schedule a runnable to be executed for the give cron expression (SeeCronJob
).CronScheduler.schedule
(SchedulerRunnable runnable, String cronExpression) Schedule a runnable to be executed for the give cron expression (SeeCronJob
).<T> ScheduledCompletableFuture
<T> PeriodicScheduler.schedule
(SchedulerRunnable runnable, Duration... delays) Schedule a runnable to be executed in definitely at the given delays.<T> ScheduledCompletableFuture
<T> Scheduler.schedule
(SchedulerRunnable callable, @Nullable String identifier, TemporalAdjuster temporalAdjuster) Schedules the callable once or repeating using the temporalAdjuster to determine the time the callable should run.<T> ScheduledCompletableFuture
<T> Scheduler.schedule
(SchedulerRunnable callable, TemporalAdjuster temporalAdjuster) Schedules the callable once or repeating using the temporalAdjuster to determine the time the callable should run.