Interface ChannelPoolFactory

    • Method Detail

      • construct

        @CheckReturnValue
        ManagedChannelPool construct​(@Nonnull
                                     ChannelPoolManager manager,
                                     @Nonnull
                                     io.netty.channel.pool.ChannelPoolHandler handler,
                                     @Nonnull
                                     io.netty.channel.EventLoopGroup eventLoop,
                                     @Nonnull
                                     java.net.InetSocketAddress address)
        Constructs a new ChannelPool which must connect to the specified address.
        Parameters:
        manager - The channel pool manager which will manage the pool.
        handler - A handler to be notified of events.
        eventLoop - The eventloop for the connection pool.
        address - Target address/port for the connection pool.
        Returns:
        New instance of ManagedChannelPool
      • setHttp2PingSendHandlerFunction

        default void setHttp2PingSendHandlerFunction​(java.util.function.Function<io.netty.channel.Channel,​Http2PingSendHandler> pingSendHandlerFn)