public interface NettyChannelPoolMap<K,P extends NettyChannelPool> extends Closeable
NettyChannelPoolMap interface.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(K key)
|
P |
get(K key)
Return the
NettyChannelPool for the code . |
P get(K key)
NettyChannelPool
for the code
. This will never return null
,
but create a new NettyChannelPool
if non exists for they requested key
.
Please note that null
keys are not allowed.
key
- a K objectboolean contains(K key)
true
if a NettyChannelPool
exists for the given key
.
Please note that null
keys are not allowed.
key
- a K objectCopyright © 2016–2024. All rights reserved.