public class ChannelManager extends Object
| Constructor and Description |
|---|
ChannelManager(AsyncHttpClientConfig config,
ChannelPool channelPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortChannelPreemption(String poolKey) |
void |
closeChannel(org.jboss.netty.channel.Channel channel) |
void |
destroy() |
org.jboss.netty.channel.Channel |
poll(String uri) |
boolean |
preemptChannel(String poolKey) |
void |
registerOpenChannel(org.jboss.netty.channel.Channel channel) |
boolean |
removeAll(org.jboss.netty.channel.Channel connection) |
void |
tryToOfferChannelToPool(org.jboss.netty.channel.Channel channel,
boolean keepAlive,
String poolKey) |
public ChannelManager(AsyncHttpClientConfig config, ChannelPool channelPool)
public final void tryToOfferChannelToPool(org.jboss.netty.channel.Channel channel,
boolean keepAlive,
String poolKey)
public org.jboss.netty.channel.Channel poll(String uri)
public boolean removeAll(org.jboss.netty.channel.Channel connection)
public boolean preemptChannel(String poolKey)
public void destroy()
public void closeChannel(org.jboss.netty.channel.Channel channel)
public void abortChannelPreemption(String poolKey)
public void registerOpenChannel(org.jboss.netty.channel.Channel channel)
Copyright © 2014. All Rights Reserved.