public ServerBuilder gracefulShutdownTimeoutMillis(long quietPeriodMillis, long timeoutMillis) {
        return gracefulShutdown(GracefulShutdown.builder()
                                                .quietPeriodMillis(quietPeriodMillis)
                                                .timeoutMillis(timeoutMillis)
                                                .build());
    }
Sets the amount of time to wait after calling {@link Server#stop()} for
requests to go away before actually shutting down.

@param quietPeriodMillis the number of milliseconds to wait for active
                         requests to go end before shutting down. 0 means the server will
                         stop right away without waiting.
@param timeoutMillis the number of milliseconds to wait before shutting down the server regardless of
                     active requests. This should be set to a time greater than {@code quietPeriodMillis}
                     to ensure the server shuts down even if there is a stuck request.
core/src/main/java/com/linecorp/armeria/server/ServerBuilder.java