public class RpcPortHealthCheckClient extends Object implements HealthCheckClient
Constructor and Description |
---|
RpcPortHealthCheckClient(InetSocketAddress nodeAddress,
ServiceType serviceType,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a worker health check client.
|
public RpcPortHealthCheckClient(InetSocketAddress nodeAddress, ServiceType serviceType, java.util.function.Supplier<RetryPolicy> retryPolicySupplier, AlluxioConfiguration alluxioConf)
nodeAddress
- The potential node addressserviceType
- The type of serviceretryPolicySupplier
- the retry policy supplieralluxioConf
- Alluxio configurationpublic boolean isServing()
isServing
in interface HealthCheckClient
Copyright © 2023. All Rights Reserved.