public final class MasterHealthCheckClient.MasterServingHealthCheck extends RpcPortHealthCheckClient implements Runnable
Constructor and Description |
---|
MasterServingHealthCheck(InetSocketAddress nodeAddress,
ServiceType serviceType,
java.util.function.Supplier<RetryPolicy> retryPolicySupplier,
AlluxioConfiguration alluxioConf)
Creates a new instance of
MasterHealthCheckClient.MasterServingHealthCheck to check for an open RPC port
for the given service. |
Modifier and Type | Method and Description |
---|---|
void |
run() |
boolean |
serving() |
isServing
public MasterServingHealthCheck(InetSocketAddress nodeAddress, ServiceType serviceType, java.util.function.Supplier<RetryPolicy> retryPolicySupplier, AlluxioConfiguration alluxioConf)
MasterHealthCheckClient.MasterServingHealthCheck
to check for an open RPC port
for the given service.nodeAddress
- the address of the node to connect toserviceType
- the gRPC service typeretryPolicySupplier
- a retry policy supplieralluxioConf
- Alluxio configurationCopyright © 2023. All Rights Reserved.