Package alluxio.proxy

Class ProxyHealthCheckClient

  • All Implemented Interfaces:
    alluxio.HealthCheckClient

    public class ProxyHealthCheckClient
    extends java.lang.Object
    implements alluxio.HealthCheckClient
    ProxyHealthCheckClient 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
      boolean isServing()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 address
        retryPolicySupplier - the retry policy supplier
    • Method Detail

      • isServing

        public boolean isServing()
        Specified by:
        isServing in interface alluxio.HealthCheckClient