Uses of Class
com.soklet.ShutdownCleanup
Packages that use ShutdownCleanup
-
Uses of ShutdownCleanup in com.soklet
Methods in com.soklet that return ShutdownCleanupModifier and TypeMethodDescriptionstatic @NonNull ShutdownCleanupShutdownCleanup.fromTimeoutAndAction(@NonNull Duration timeout, @NonNull ShutdownCleanup.Action action) Creates a cleanup specification from its deadline budget and synchronous action.Methods in com.soklet with parameters of type ShutdownCleanupModifier and TypeMethodDescriptionSoklet.run(@NonNull SokletConfig sokletConfig, @NonNull ShutdownCleanup cleanup) Starts a lifecycle with bounded application cleanup eligible after complete core shutdown.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.