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) 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, BooleanSupplier until) Executes a task periodically, starting after an initial delay. -
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, BooleanSupplier until) Executes a task periodically, starting after an initial delay.NanoThread.run(ExecutorService executor, Supplier<Context> context, ExRunnable task) final ContextContext.runAwait(ExRunnable... runnable) Executes asynchronously and waits for all runnable to be readyfinal ContextContext.runAwaitHandled(Consumer<Unhandled> onFailure, ExRunnable... runnable) Executes asynchronously and waits for all runnable to be readyfinal NanoThread[]Context.runAwaitReturn(ExRunnable... runnable) Executes asynchronously and waits for allServiceto be readyfinal NanoThread[]Context.runAwaitReturnHandled(Consumer<Unhandled> onFailure, ExRunnable... runnable) Executes and waits for allServiceto be readyfinal ContextContext.runHandled(Consumer<Unhandled> onFailure, ExRunnable... runnable) Executes one or multiple runnable asynchronously.final NanoThread[]Context.runReturn(ExRunnable... runnable) Executes one or multiple runnable asynchronously.final NanoThread[]Context.runReturnHandled(Consumer<Unhandled> onFailure, ExRunnable... runnable) Executes one or multiple runnable asynchronously.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)