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, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static AwaitCloseChannelPoolMap.Builder builder()
protected software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool newPool(URI key)
SdkChannelPoolMap
ChannelPool
needs to be created as non exists yet for the key
.public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class SdkChannelPoolMap<URI,software.amazon.awssdk.http.nio.netty.internal.AwaitCloseChannelPoolMap.SimpleChannelPoolAwareChannelPool>
Copyright © 2019. All rights reserved.