T - The typepublic interface LifeCycle<T extends LifeCycle> extends Closeable, AutoCloseable
Components can implement this interface
| Modifier and Type | Method and Description | 
|---|---|
| default void | close()Delegates to  stop(). | 
| boolean | isRunning() | 
| default T | refresh()Refreshes the current life cycle object. | 
| default T | start()Starts the lifecyle component. | 
| default T | stop()Stops the life cycle component. | 
boolean isRunning()
default void close()
stop().close in interface AutoCloseableclose in interface Closeable