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.listenersMethods in org.nanonative.nano.core.model that return NanoThreadModifier and TypeMethodDescriptionNanoThread.await()Service.nanoThread(Context context) Creates and configures a new NanoThread for this service.NanoThread.onComplete(BiConsumer<NanoThread, Throwable> listener) NanoThread.run(Supplier<Context> context, ExRunnable task) Executes and waits for allServiceto 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 readyExecutes one or multipleServiceasynchronously.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.static NanoThread[]Creates NanoThreads for multiple services.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> listener)