@FunctionalInterface public interface LifecycleHandler
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<?> |
run()
Run the start up or shutdown process this
LifecycleHandler represents. |
CompletableFuture<?> run()
LifecycleHandler represents. Depending on the implementation
this might be asynchronous through the return value.CompletableFuture of unknown type which enables chaining several LifecycleHandler callsCopyright © 2010–2023. All rights reserved.