Package io.netty.channel.pool
Interface ChannelPoolMap<K,P extends ChannelPool>
-
- Type Parameters:
K
- the type of the keyP
- the type of theChannelPool
- All Known Implementing Classes:
AbstractChannelPoolMap
public interface ChannelPoolMap<K,P extends ChannelPool>
Allows to mapChannelPool
implementations to a specific key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
contains(K key)
P
get(K key)
Return theChannelPool
for thecode
.
-
-
-
Method Detail
-
get
P get(K key)
Return theChannelPool
for thecode
. This will never returnnull
, but create a newChannelPool
if non exists for they requestedkey
. Please note thatnull
keys are not allowed.
-
contains
boolean contains(K key)
-
-