Class AwaitCloseChannelPoolMap
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.SdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>
software.amazon.awssdk.http.nio.netty.internal.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>>
@SdkInternalApi
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.-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class software.amazon.awssdk.http.nio.netty.internal.SdkChannelPoolMap
contains, get, isEmpty, iterator, pools, remove, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
builder
-
newPool
protected software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool newPool(URI key) Description copied from class:SdkChannelPoolMapCalled once a newChannelPoolneeds to be created as non exists yet for thekey.- Specified by:
newPoolin classSdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classSdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.SimpleChannelPoolAwareChannelPool>
-