public final class MasterHealthCheckClient.MasterServingHealthCheck extends RpcPortHealthCheckClient implements java.lang.Runnable
| Constructor and Description |
|---|
MasterServingHealthCheck(java.net.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() |
isServingpublic MasterServingHealthCheck(java.net.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 © 2022. All Rights Reserved.