Top Description Methods
io.netty.channel.pool

public Interface ChannelPoolMap<K, P extends io.netty.channel.pool.ChannelPool>

Known Direct Implementers
io.netty.channel.pool.AbstractChannelPoolMap
Type Parameters
<K>
the type of the key
<P>
the type of the ChannelPool

Allows to map ChannelPool implementations to a specific key.

Method Summary

Modifier and TypeMethod and Description
public boolean
contains(K key)

Returns true if a ChannelPool exists for the given key.

public P
get(K key)

Return the ChannelPool for the code.

Method Detail

containsback to summary
public boolean contains(K key)

Returns true if a ChannelPool exists for the given key. Please note that null keys are not allowed.

getback to summary
public P get(K key)

Return the 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.