public final class AwaitCloseChannelPoolMap extends SdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool>
SdkChannelPoolMap that awaits channel pools to be closed upon closing.| Modifier and Type | Class and Description |
|---|---|
static class |
AwaitCloseChannelPoolMap.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwaitCloseChannelPoolMap.Builder |
builder() |
void |
close() |
protected software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool |
newPool(URI key)
Called once a new
ChannelPool needs to be created as non exists yet for the key. |
contains, get, isEmpty, iterator, pools, remove, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static AwaitCloseChannelPoolMap.Builder builder()
protected software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool newPool(URI key)
SdkChannelPoolMapChannelPool needs to be created as non exists yet for the key.public void close()
close in interface Closeableclose in interface AutoCloseableclose in class SdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool>Copyright © 2019. All rights reserved.