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