public class SolrClientHandler extends io.netty.channel.SimpleChannelInboundHandler<SolrProtocol.SolrResponse>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.lang.String |
CLIENT_HANDLER_NAME |
protected ResponsePromiseContainer |
responsePromiseContainer |
| 构造器和说明 |
|---|
SolrClientHandler(ResponsePromiseContainer responsePromiseContainer) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext ctx,
SolrProtocol.SolrResponse solrResponse) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
static SolrClientHandler |
getSolrClientHandler(io.netty.channel.Channel channel) |
void |
removeResponsePromise(long rid) |
io.netty.channel.ChannelFuture |
writeRequest(io.netty.channel.Channel channel,
SolrProtocol.SolrRequest solrRequest,
ResponsePromise responsePromise) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredprotected static final java.lang.String CLIENT_HANDLER_NAME
protected final ResponsePromiseContainer responsePromiseContainer
public SolrClientHandler(ResponsePromiseContainer responsePromiseContainer)
public static SolrClientHandler getSolrClientHandler(io.netty.channel.Channel channel)
protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx,
SolrProtocol.SolrResponse solrResponse)
throws java.lang.Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<SolrProtocol.SolrResponse>java.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
throws java.lang.Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exceptionpublic io.netty.channel.ChannelFuture writeRequest(io.netty.channel.Channel channel,
SolrProtocol.SolrRequest solrRequest,
ResponsePromise responsePromise)
public void removeResponsePromise(long rid)
Copyright © 2016. All Rights Reserved.