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

    Modifier and Type
    Method
    Description
    void
    The function to run when the system shutdown.
  • Method Details

    • shutdown

      void shutdown()
      The function to run when the system shutdown.