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 mapChannelPoolimplementations to a specific key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(K key)Pget(K key)Return theChannelPoolfor thecode.
-
-
-
Method Detail
-
get
P get(K key)
Return theChannelPoolfor thecode. This will never returnnull, but create a newChannelPoolif non exists for they requestedkey. Please note thatnullkeys are not allowed.
-
contains
boolean contains(K key)
-
-