public class SolrClientHandler extends io.netty.channel.SimpleChannelInboundHandler<SolrProtocol.SolrResponse>
| 限定符和类型 | 字段和说明 |
|---|---|
protected static 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,
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 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 Exception
channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<SolrProtocol.SolrResponse>Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught 在接口中 io.netty.channel.ChannelHandlerexceptionCaught 在接口中 io.netty.channel.ChannelInboundHandlerexceptionCaught 在类中 io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic io.netty.channel.ChannelFuture writeRequest(io.netty.channel.Channel channel,
SolrProtocol.SolrRequest solrRequest,
ResponsePromise responsePromise)
public void removeResponsePromise(long rid)
Copyright © 2016 vootoo. All rights reserved.