Interface HasLifecycle<T>
-
- All Known Subinterfaces:
Server<T>
- All Known Implementing Classes:
BaseServer
public interface HasLifecycle<T>
Allows an implementation of something to be marked as startable and stoppable, allowing its lifecycle to be controlled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
start()
void
stop()
-
-
-
Method Detail
-
start
T start()
-
stop
void stop()
-
-