Package alluxio.proxy
Class ProxyHealthCheckClient
- java.lang.Object
-
- alluxio.proxy.ProxyHealthCheckClient
-
- All Implemented Interfaces:
alluxio.HealthCheckClient
public class ProxyHealthCheckClient extends java.lang.Object implements alluxio.HealthCheckClientProxyHealthCheckClient check if the proxy server is serving requests.
-
-
Constructor Summary
Constructors Constructor Description ProxyHealthCheckClient(java.net.InetSocketAddress proxyAddress, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier)Creates a proxy health check client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisServing()
-
-
-
Constructor Detail
-
ProxyHealthCheckClient
public ProxyHealthCheckClient(java.net.InetSocketAddress proxyAddress, java.util.function.Supplier<alluxio.retry.RetryPolicy> retryPolicySupplier)Creates a proxy health check client.- Parameters:
proxyAddress- The potential proxy addressretryPolicySupplier- the retry policy supplier
-
-