org.springframework.boot.web.server

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
    See Also:
    WebServer.shutDownGracefully(GracefulShutdownCallback)
    • Method Detail

      • shutdownComplete

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