Package alluxio.master
Class MasterHealthCheckClient.MasterServingHealthCheck
- java.lang.Object
-
- alluxio.common.RpcPortHealthCheckClient
-
- alluxio.master.MasterHealthCheckClient.MasterServingHealthCheck
-
- All Implemented Interfaces:
alluxio.HealthCheckClient,java.lang.Runnable
- Enclosing class:
- MasterHealthCheckClient
public final class MasterHealthCheckClient.MasterServingHealthCheck extends RpcPortHealthCheckClient implements java.lang.Runnable
Runnable for checking if the AlluxioMaster is serving RPCs.
-
-
Constructor Summary
Constructors Constructor Description MasterServingHealthCheck(java.net.InetSocketAddress nodeAddress, alluxio.grpc.ServiceType serviceType, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier, alluxio.conf.AlluxioConfiguration alluxioConf)Creates a new instance ofMasterHealthCheckClient.MasterServingHealthCheckto check for an open RPC port for the given service.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()booleanserving()-
Methods inherited from class alluxio.common.RpcPortHealthCheckClient
isServing
-
-
-
-
Constructor Detail
-
MasterServingHealthCheck
public MasterServingHealthCheck(java.net.InetSocketAddress nodeAddress, alluxio.grpc.ServiceType serviceType, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier, alluxio.conf.AlluxioConfiguration alluxioConf)Creates a new instance ofMasterHealthCheckClient.MasterServingHealthCheckto check for an open RPC port for the given service.- Parameters:
nodeAddress- the address of the node to connect toserviceType- the gRPC service typeretryPolicySupplier- a retry policy supplieralluxioConf- Alluxio configuration
-
-