K
- the type of the keyP
- the type of the ChannelPool
public interface ChannelPoolMap<K,P extends ChannelPool>
ChannelPool
implementations to a specific key.Modifier and Type | Method and Description |
---|---|
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)
Copyright © 2008–2018 The Netty Project. All rights reserved.