public class ProxyHealthCheckClient extends Object implements HealthCheckClient
Constructor and Description |
---|
ProxyHealthCheckClient(InetSocketAddress proxyAddress,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
Creates a proxy health check client.
|
public ProxyHealthCheckClient(InetSocketAddress proxyAddress, java.util.function.Supplier<RetryPolicy> retryPolicySupplier)
proxyAddress
- The potential proxy addressretryPolicySupplier
- the retry policy supplierpublic boolean isServing()
isServing
in interface HealthCheckClient
Copyright © 2023. All Rights Reserved.