Interface GracefulShutdownCallback

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 GracefulShutdownCallback
A callback for the result of a graceful shutdown request.
Since:
2.3.0
Author:
Andy Wilkinson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Graceful shutdown has completed with the given result.
  • Method Details

    • shutdownComplete

      void shutdownComplete(GracefulShutdownResult result)
      Graceful shutdown has completed with the given result.
      Parameters:
      result - the result of the shutdown