public interface Lifecycle<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
ensureInitialized() |
boolean |
init(T opts)
Initialize the service with options.
|
void |
shutdownGracefully()
Dispose the resources for service.
|
boolean init(T opts)
opts - optionsvoid shutdownGracefully()
default void ensureInitialized()
Copyright © 2023. All rights reserved.