Module io.helidon

Interface HelidonShutdownHandler

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 HelidonShutdownHandler
Handles shutdown of the VM.

Register an instance with Main.addShutdownHandler(HelidonShutdownHandler), remove with Main.removeShutdownHandler(HelidonShutdownHandler). Shutdown handlers are compared via instances, not via equals methods.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Handle the shutdown work of this component.
  • Method Details

    • shutdown

      void shutdown()
      Handle the shutdown work of this component.