K - the type of the keyP - the type of the ChannelPoolpublic interface ChannelPoolMap<K,P extends ChannelPool>
ChannelPool implementations to a specific key.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
contains(K key)
|
P |
get(K key)
Return the
ChannelPool for the code. |
P get(K key)
ChannelPool for the code. This will never return null,
but create a new ChannelPool if non exists for they requested key.
Please note that null keys are not allowed.boolean contains(K key)