| Package | Description |
|---|---|
| com.linecorp.armeria.client.endpoint.healthcheck |
Filters out unhealthy
Endpoints from an existing
EndpointGroup by sending health check requests. |
| Modifier and Type | Class and Description |
|---|---|
class |
HealthCheckedEndpointGroupBuilder
A builder for creating a new
HealthCheckedEndpointGroup that sends HTTP health check requests. |
| Modifier and Type | Method and Description |
|---|---|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.clientFactory(ClientFactory clientFactory)
Sets the
ClientFactory to use when making health check requests. |
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.clientOptions(ClientOptions clientOptions)
Sets the
ClientOptions of the Client that sends health check requests. |
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.healthCheckPort(int port)
Deprecated.
Use
port(int). |
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.maxEndpointCount(int maxEndpointCount)
Sets the maximum endpoint count of target selected candidates.
|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.maxEndpointRatio(double maxEndpointRatio)
Sets the maximum endpoint ratio of target selected candidates.
|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.port(int port)
Sets the port where a health check request will be sent instead of the original port number
specified by
EndpointGroup's Endpoints. |
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.protocol(SessionProtocol protocol)
Sets the
SessionProtocol to be used when making health check requests. |
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.retryBackoff(Backoff retryBackoff)
Sets the backoff between health check requests.
|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.retryInterval(Duration retryInterval)
Sets the interval between health check requests.
|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.retryIntervalMillis(long retryIntervalMillis)
Sets the interval between health check requests in milliseconds.
|
AbstractHealthCheckedEndpointGroupBuilder |
AbstractHealthCheckedEndpointGroupBuilder.withClientOptions(Function<? super ClientOptionsBuilder,ClientOptionsBuilder> configurator)
|
Copyright © 2020 LeanCloud. All rights reserved.