Interface ShutdownListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ShutdownListener
Any component which needs to be shut down should implement this interface and use the function to shut down the component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
shutdown()
The function to run when the system shutdown.
-