public abstract class HealthCheckDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
| Constructor and Description |
|---|
HealthCheckDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FutureOperation<?,?,?> |
buildOperation() |
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext chc,
io.netty.buffer.ByteBuf in,
List<Object> list) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
io.netty.util.concurrent.DefaultPromise<RiakMessage> |
getPromise() |
void |
handlerAdded(io.netty.channel.ChannelHandlerContext ctx) |
actualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecodeprotected abstract FutureOperation<?,?,?> buildOperation()
protected void decode(io.netty.channel.ChannelHandlerContext chc,
io.netty.buffer.ByteBuf in,
List<Object> list)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic void handlerAdded(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
handlerAdded in interface io.netty.channel.ChannelHandlerhandlerAdded in class io.netty.channel.ChannelHandlerAdapterExceptionpublic void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelInboundHandlerchannelActive in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelInboundHandlerchannelInactive in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic io.netty.util.concurrent.DefaultPromise<RiakMessage> getPromise() throws InterruptedException
InterruptedExceptionCopyright © 2014. All rights reserved.