Class ProxyConnectionPool

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class ProxyConnectionPool
    extends org.apache.pulsar.client.impl.ConnectionPool
    • Field Summary

      • Fields inherited from class org.apache.pulsar.client.impl.ConnectionPool

        dnsResolver, pool
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyConnectionPool​(org.apache.pulsar.client.impl.conf.ClientConfigurationData clientConfig, io.netty.channel.EventLoopGroup eventLoopGroup, java.util.function.Supplier<org.apache.pulsar.client.impl.ClientCnx> clientCnxSupplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class org.apache.pulsar.client.impl.ConnectionPool

        getConnection, getConnection, releaseConnection
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProxyConnectionPool

        public ProxyConnectionPool​(org.apache.pulsar.client.impl.conf.ClientConfigurationData clientConfig,
                                   io.netty.channel.EventLoopGroup eventLoopGroup,
                                   java.util.function.Supplier<org.apache.pulsar.client.impl.ClientCnx> clientCnxSupplier)
                            throws org.apache.pulsar.client.api.PulsarClientException
        Throws:
        org.apache.pulsar.client.api.PulsarClientException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class org.apache.pulsar.client.impl.ConnectionPool
        Throws:
        java.io.IOException