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 map
ChannelPool
implementations to a specific key.-
Method Summary
-
Method Details
-
get
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
-