Uses of Class
com.soklet.ShutdownResult
Packages that use ShutdownResult
-
Uses of ShutdownResult in com.soklet
Methods in com.soklet that return ShutdownResultModifier and TypeMethodDescriptionSoklet.awaitShutdown()Waits for full shutdown, bounded application cleanup, terminal reporting, and process-registration release, without requesting shutdown.SokletLifecycleException.getShutdownResult()static <E extends @NonNull Throwable>
@NonNull ShutdownResultSoklet.run(@NonNull SokletConfig sokletConfig, @NonNull ShutdownCleanup cleanup, @NonNull Soklet.RunAction<@NonNull E> action) Runs one action-defined scope with bounded application cleanup.static <E extends @NonNull Throwable>
@NonNull ShutdownResultSoklet.run(@NonNull SokletConfig sokletConfig, @NonNull Soklet.RunAction<@NonNull E> action) Starts Soklet, invokes the action after readiness, and requests shutdown when the action returns or throws.static <E extends @NonNull Throwable>
@NonNull ShutdownResultSokletSimulator.run(@NonNull SimulatorConfig simulatorConfig, @NonNull SokletSimulator.Simulation<@NonNull E> simulation) Runs one prebuilt, single-use off-network simulation configuration.static <E extends @NonNull Throwable>
@NonNull ShutdownResultSokletSimulator.run(@NonNull SokletConfig sokletConfig, @NonNull SokletSimulator.Simulation<@NonNull E> simulation) Runs an existing Soklet application configuration against a fresh, off-network simulator transport graph.Methods in com.soklet that return types with arguments of type ShutdownResultModifier and TypeMethodDescriptionSoklet.awaitShutdownAsync()Observes the same full terminal outcome asSoklet.awaitShutdown()without blocking or requesting shutdown.Methods in com.soklet with parameters of type ShutdownResultModifier and TypeMethodDescriptiondefault voidLifecycleObserver.didStopSoklet(@NonNull ShutdownResult shutdownResult) Called after aSokletinstance publishes its immutable result.voidShutdownCleanup.Action.performCleanup(@NonNull ShutdownResult shutdownResult) Performs cleanup after complete core shutdown.