Uses of Interface
org.nanonative.nano.helper.ExRunnable
Packages that use ExRunnable
Package
Description
-
Uses of ExRunnable in org.nanonative.nano.core
Methods in org.nanonative.nano.core with parameters of type ExRunnableModifier and TypeMethodDescriptionprotected voidNanoThreads.executeScheduler(Supplier<Context> context, ExRunnable task, Scheduler scheduler, boolean periodically) Executes the task.NanoThreads.run(Supplier<Context> context, ExRunnable task, long delay, long period, TimeUnit unit, BooleanSupplier until) Executes a task periodically, starting after an initial delay.NanoThreads.run(Supplier<Context> context, ExRunnable task, long delay, TimeUnit timeUnit) Executes a task asynchronously after a specified delay.NanoThreads.run(Supplier<Context> context, ExRunnable task, LocalTime atTime, DayOfWeek dow, ZoneId zone, BooleanSupplier until) Core scheduling method for daily or weekly execution at a fixed wall-clock time.NanoThreads.run(Supplier<Context> context, ExRunnable task, LocalTime atTime, DayOfWeek dow, BooleanSupplier until) Executes a task periodically, starting after an initial delay.NanoThreads.runDaily(Supplier<Context> context, ExRunnable task, LocalTime atTime, BooleanSupplier until) Executes a task daily at the specified wall-clock time in the server's default time zone until the stop condition returnstrue.NanoThreads.runWeekly(Supplier<Context> context, ExRunnable task, DayOfWeek dow, LocalTime atTime, BooleanSupplier until) Executes a task weekly at the given day of week and wall-clock time in the server's default time zone until the stop condition returnstrue.protected voidNanoThreads.scheduleOnce(Supplier<Context> context, ExRunnable task, Scheduler scheduler, BooleanSupplier until, LocalTime atTime, DayOfWeek dow, ZoneId zone, ZonedDateTime planned) Internal recursive scheduler: schedules the given task once, then reschedules itself for the next occurrence. -
Uses of ExRunnable in org.nanonative.nano.core.model
Methods in org.nanonative.nano.core.model with parameters of type ExRunnableModifier and TypeMethodDescriptionfinal ContextContext.run(ExRunnable... runnable) Executes one or multiple runnable asynchronously.Context.run(ExRunnable task, long delay, long period, TimeUnit unit) Executes a task periodically, starting after an initial delay.Context.run(ExRunnable task, long delay, long period, TimeUnit unit, BooleanSupplier until) Executes a task periodically, starting after an initial delay.Context.run(ExRunnable task, long delay, TimeUnit timeUnit) Executes a task asynchronously after a specified delay.Context.run(ExRunnable task, LocalTime atTime) Executes a task periodically, starting after an initial delay.Context.run(ExRunnable task, LocalTime atTime, DayOfWeek dow, ZoneId zone, BooleanSupplier until) Core scheduling method for daily or weekly execution at a fixed wall-clock time.Context.run(ExRunnable task, LocalTime atTime, DayOfWeek dow, BooleanSupplier until) Executes a task periodically, starting after an initial delay.Context.run(ExRunnable task, LocalTime atTime, BooleanSupplier until) Executes a task periodically, starting after an initial delay.NanoThread.run(Supplier<Context> context, ExRunnable task) final ContextContext.runAwait(ExRunnable... runnable) Executes asynchronously and waits for all runnable to be readyfinal ContextContext.runAwaitHandled(Consumer<Event<Object, Void>> onFailure, ExRunnable... runnable) Executes asynchronously and waits for all runnable to be readyfinal NanoThread[]Context.runAwaitR(ExRunnable... runnable) Executes asynchronously and waits for allServiceto be readyfinal NanoThread[]Context.runAwaitRHandled(Consumer<Event<Object, Void>> onFailure, ExRunnable... runnable) Executes and waits for allServiceto be readyContext.runDaily(ExRunnable task, LocalTime... atTime) Executes a task daily at the specified wall-clock time in the server's default time zone.Context.runDaily(ExRunnable task, BooleanSupplier until, LocalTime... atTime) Executes a task daily at the specified wall-clock time in the server's default time zone until the stop condition returnstrue.final ContextContext.runHandled(Consumer<Event<Object, Void>> onFailure, ExRunnable... runnable) Executes one or multiple runnable asynchronously.final NanoThread[]Context.runR(ExRunnable... runnable) Executes one or multiple runnable asynchronously.final NanoThread[]Context.runReturnHandled(Consumer<Event<Object, Void>> onFailure, ExRunnable... runnable) Executes one or multiple runnable asynchronously.Context.runWeekly(ExRunnable task, LocalTime atTime, DayOfWeek... dow) Executes a task weekly at the given day of week and wall-clock time in the server's default time zone.Context.runWeekly(ExRunnable task, LocalTime atTime, BooleanSupplier until, DayOfWeek... dow) Executes a task weekly at the given day of week and wall-clock time in the server's default time zone until the stop condition returnstrue.voidContext.tryExecute(ExRunnable operation) voidContext.tryExecute(ExRunnable operation, Consumer<Throwable> consumer) -
Uses of ExRunnable in org.nanonative.nano.helper
Methods in org.nanonative.nano.helper with parameters of type ExRunnableModifier and TypeMethodDescriptionstatic voidNanoUtils.tryExecute(Supplier<Context> context, ExRunnable operation) static voidNanoUtils.tryExecute(Supplier<Context> context, ExRunnable operation, Consumer<Throwable> consumer)