Uses of Class
org.nanonative.nano.core.model.NanoThread
Packages that use NanoThread
-
Uses of NanoThread in org.nanonative.nano.core.model
Fields in org.nanonative.nano.core.model with type parameters of type NanoThreadModifier and TypeFieldDescriptionprotected final List<BiConsumer<NanoThread, Throwable>> NanoThread.onCompleteCallbacksMethods in org.nanonative.nano.core.model that return NanoThreadModifier and TypeMethodDescriptionNanoThread.await()Service.nanoThread(Context context) NanoThread.onComplete(BiConsumer<NanoThread, Throwable> onComplete) NanoThread.run(ExecutorService executor, Supplier<Context> context, ExRunnable task) Context.runAwaitReturn(Service... services) Executes and waits for allServiceto 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 readyExecutes one or multipleServiceasynchronously.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.static NanoThread[]static NanoThread[]NanoThread.waitFor(Runnable onComplete, NanoThread... threads) Waits for all providedNanoThreadinstances to complete execution and optionally executes aRunnableonce all threads have finished.static NanoThread[]NanoThread.waitFor(NanoThread... threads) Blocks until all providedNanoThreadinstances have completed execution.Methods in org.nanonative.nano.core.model with parameters of type NanoThreadModifier and TypeMethodDescriptionstatic NanoThread[]NanoThread.waitFor(Runnable onComplete, NanoThread... threads) Waits for all providedNanoThreadinstances to complete execution and optionally executes aRunnableonce all threads have finished.static NanoThread[]NanoThread.waitFor(NanoThread... threads) Blocks until all providedNanoThreadinstances have completed execution.Method parameters in org.nanonative.nano.core.model with type arguments of type NanoThreadModifier and TypeMethodDescriptionNanoThread.onComplete(BiConsumer<NanoThread, Throwable> onComplete)