public class RpcPortHealthCheckClient extends java.lang.Object implements HealthCheckClient
| Constructor and Description |
|---|
RpcPortHealthCheckClient(java.net.InetSocketAddress nodeAddress,
ServiceType serviceType,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a worker health check client.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isServing() |
public RpcPortHealthCheckClient(java.net.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 HealthCheckClientCopyright © 2022. All Rights Reserved.