public class SolrClientChannelPoolHandler
extends java.lang.Object
implements io.netty.channel.pool.ChannelPoolHandler
| 限定符和类型 | 字段和说明 |
|---|---|
protected HandlerConfig |
handlerConfig |
protected java.net.SocketAddress |
socketAddress |
| 构造器和说明 |
|---|
SolrClientChannelPoolHandler(HandlerConfig handlerConfig,
java.net.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 java.net.SocketAddress socketAddress
public SolrClientChannelPoolHandler(HandlerConfig handlerConfig, java.net.SocketAddress socketAddress)
public void channelReleased(io.netty.channel.Channel ch)
throws java.lang.Exception
channelReleased 在接口中 io.netty.channel.pool.ChannelPoolHandlerjava.lang.Exceptionpublic void channelAcquired(io.netty.channel.Channel ch)
throws java.lang.Exception
channelAcquired 在接口中 io.netty.channel.pool.ChannelPoolHandlerjava.lang.Exceptionpublic void channelCreated(io.netty.channel.Channel ch)
throws java.lang.Exception
channelCreated 在接口中 io.netty.channel.pool.ChannelPoolHandlerjava.lang.Exceptionprotected void initChannel(io.netty.channel.Channel ch)
throws java.lang.Exception
java.lang.Exceptionpublic ResponsePromiseContainer getResponsePromiseContainer()
Copyright © 2016. All Rights Reserved.