| Package | Description |
|---|---|
| com.linecorp.armeria.server.healthcheck |
HTTP health check service for load balancers.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckServiceBuilder |
HealthCheckService.builder()
Returns a new builder which builds a new
HealthCheckService. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.checkers(HealthChecker... healthCheckers)
Adds the specified
HealthCheckers that determine the healthiness of the Server. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.checkers(Iterable<? extends HealthChecker> healthCheckers)
Adds the specified
HealthCheckers that determine the healthiness of the Server. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.healthyResponse(AggregatedHttpResponse healthyResponse)
Sets the
AggregatedHttpResponse to send when the Service is healthy. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(Duration maxLongPollingTimeout)
Enables or disables long-polling support.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(Duration maxLongPollingTimeout,
double longPollingTimeoutJitterRate)
Deprecated.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(Duration maxLongPollingTimeout,
double longPollingTimeoutJitterRate,
Duration pingInterval)
Enables or disables long-polling support.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(long maxLongPollingTimeoutMillis)
Enables or disables long-polling support.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(long maxLongPollingTimeoutMillis,
double longPollingTimeoutJitterRate)
Deprecated.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.longPolling(long maxLongPollingTimeoutMillis,
double longPollingTimeoutJitterRate,
long pingIntervalMillis)
Enables or disables long-polling support.
|
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.unhealthyResponse(AggregatedHttpResponse unhealthyResponse)
Sets the
AggregatedHttpResponse to send when the Service is unhealthy. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.updatable(boolean updatable)
Specifies whether the healthiness of the
Server can be updated by sending a PUT,
POST or PATCH request to the HealthCheckService. |
HealthCheckServiceBuilder |
HealthCheckServiceBuilder.updatable(HealthCheckUpdateHandler updateHandler)
Specifies a
HealthCheckUpdateHandler which handles other HTTP methods than HEAD and
GET which updates the healthiness of the Server. |
Copyright © 2020 LeanCloud. All rights reserved.