public HealthCheckServiceBuilder longPolling(Duration maxLongPollingTimeout,
                                                 double longPollingTimeoutJitterRate,
                                                 Duration pingInterval) {
        requireNonNull(maxLongPollingTimeout, "maxLongPollingTimeout");
        checkArgument(!maxLongPollingTimeout.isNegative(),
                      "maxLongPollingTimeout: %s (expected: >= 0)", maxLongPollingTimeout);

        requireNonNull(pingInterval, "pingInterval");
        checkArgument(!pingInterval.isNegative(),
                      "pingInterval: %s (expected: >= 0)", pingInterval);

        return longPolling(maxLongPollingTimeout.toMillis(),
                           longPollingTimeoutJitterRate,
                           pingInterval.toMillis());
    }
Enables or disables long-polling support. By default, long-polling support is enabled with
the max timeout of {@value #DEFAULT_LONG_POLLING_TIMEOUT_SECONDS} seconds and
the jitter rate of {@value #DEFAULT_LONG_POLLING_TIMEOUT_JITTER_RATE}.

@param maxLongPollingTimeout A positive maximum allowed timeout value which is specified by a client
                             in the {@code "prefer: wait=<n>"} request header.
                             Specify {@code 0} to disable long-polling support.
@param longPollingTimeoutJitterRate The jitter rate which adds a random variation to the long-polling
                                    timeout specified in the {@code "prefer: wait=<n>"} header.
@return {@code this}
@see #longPolling(Duration)
core/src/main/java/com/linecorp/armeria/server/healthcheck/HealthCheckServiceBuilder.java