Package alluxio.common
Class RpcPortHealthCheckClient
- java.lang.Object
-
- alluxio.common.RpcPortHealthCheckClient
-
- All Implemented Interfaces:
alluxio.HealthCheckClient
- Direct Known Subclasses:
JobMasterRpcHealthCheckClient,JobWorkerHealthCheckClient,MasterHealthCheckClient.MasterServingHealthCheck,WorkerHealthCheckClient
public class RpcPortHealthCheckClient extends java.lang.Object implements alluxio.HealthCheckClientRpcPortHealthCheckClient check if worker is serving RPC.
-
-
Constructor Summary
Constructors Constructor Description RpcPortHealthCheckClient(java.net.InetSocketAddress nodeAddress, alluxio.grpc.ServiceType serviceType, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier, alluxio.conf.AlluxioConfiguration alluxioConf)Creates a worker health check client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisServing()
-
-
-
Constructor Detail
-
RpcPortHealthCheckClient
public RpcPortHealthCheckClient(java.net.InetSocketAddress nodeAddress, alluxio.grpc.ServiceType serviceType, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier, alluxio.conf.AlluxioConfiguration alluxioConf)Creates a worker health check client.- Parameters:
nodeAddress- The potential node addressserviceType- The type of serviceretryPolicySupplier- the retry policy supplieralluxioConf- Alluxio configuration
-
-