Uses of Interface
org.openhab.core.scheduler.ScheduledCompletableFuture
Packages that use ScheduledCompletableFuture
-
Uses of ScheduledCompletableFuture in org.openhab.core.scheduler
Methods in org.openhab.core.scheduler that return ScheduledCompletableFutureModifier and TypeMethodDescriptionReturn aScheduledCompletableFuturethat will resolve after the given duration.<T> ScheduledCompletableFuture<T> Return aScheduledCompletableFuturethat resolves after delaying with the result of the call that is executed after the delay.Return aScheduledCompletableFuturethat resolves at the given epochTime<T> ScheduledCompletableFuture<T> Return aScheduledCompletableFuturethat resolves at the given epochTime with the result of the call.default ScheduledCompletableFuture<@Nullable Void> Scheduler.at(SchedulerRunnable runnable, Instant instant) Return aScheduledCompletableFuturethat resolves at the given epochTime and runs the runnable.<T> ScheduledCompletableFuture<T> Scheduler.before(CompletableFuture<T> promise, Duration timeout) Return aScheduledCompletableFuturethat fails with aTimeoutExceptionwhen the givenCompletableFutureis 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.