public class SolrClientChannelPoolHandler extends Object implements io.netty.channel.pool.ChannelPoolHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected HandlerConfig |
handlerConfig |
protected SocketAddress |
socketAddress |
| 构造器和说明 |
|---|
SolrClientChannelPoolHandler(HandlerConfig handlerConfig,
SocketAddress socketAddress) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
channelAcquired(io.netty.channel.Channel ch) |
void |
channelCreated(io.netty.channel.Channel ch) |
void |
channelReleased(io.netty.channel.Channel ch) |
ResponsePromiseContainer |
getResponsePromiseContainer() |
protected void |
initChannel(io.netty.channel.Channel ch) |
protected final HandlerConfig handlerConfig
protected final SocketAddress socketAddress
public SolrClientChannelPoolHandler(HandlerConfig handlerConfig, SocketAddress socketAddress)
public void channelReleased(io.netty.channel.Channel ch)
throws Exception
channelReleased 在接口中 io.netty.channel.pool.ChannelPoolHandlerExceptionpublic void channelAcquired(io.netty.channel.Channel ch)
throws Exception
channelAcquired 在接口中 io.netty.channel.pool.ChannelPoolHandlerExceptionpublic void channelCreated(io.netty.channel.Channel ch)
throws Exception
channelCreated 在接口中 io.netty.channel.pool.ChannelPoolHandlerExceptionpublic ResponsePromiseContainer getResponsePromiseContainer()
Copyright © 2017 vootoo. All rights reserved.