Class AwaitCloseChannelPoolMap

  • All Implemented Interfaces:
    io.netty.channel.pool.ChannelPoolMap<URI,​software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>, Closeable, AutoCloseable, Iterable<Map.Entry<URI,​software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>>

    public final class AwaitCloseChannelPoolMap
    extends SdkChannelPoolMap<URI,​software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>
    Implementation of SdkChannelPoolMap that awaits channel pools to be closed upon closing.
    • Method Detail

      • newPool

        protected software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool newPool​(URI key)
        Description copied from class: SdkChannelPoolMap
        Called once a new ChannelPool needs to be created as non exists yet for the key.
        Specified by:
        newPool in class SdkChannelPoolMap<URI,​software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>