Class HonorCloseOnReleaseChannelPool

    • Constructor Detail

      • HonorCloseOnReleaseChannelPool

        public HonorCloseOnReleaseChannelPool​(io.netty.channel.pool.ChannelPool delegatePool)
    • Method Detail

      • acquire

        public io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire()
        Specified by:
        acquire in interface io.netty.channel.pool.ChannelPool
      • acquire

        public io.netty.util.concurrent.Future<io.netty.channel.Channel> acquire​(io.netty.util.concurrent.Promise<io.netty.channel.Channel> promise)
        Specified by:
        acquire in interface io.netty.channel.pool.ChannelPool
      • release

        public io.netty.util.concurrent.Future<Void> release​(io.netty.channel.Channel channel)
        Specified by:
        release in interface io.netty.channel.pool.ChannelPool
      • release

        public io.netty.util.concurrent.Future<Void> release​(io.netty.channel.Channel channel,
                                                             io.netty.util.concurrent.Promise<Void> promise)
        Specified by:
        release in interface io.netty.channel.pool.ChannelPool
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface io.netty.channel.pool.ChannelPool
        Specified by:
        close in interface Closeable