@ChannelHandler.Sharable public class CommandBatchEncoder extends io.netty.handler.codec.MessageToByteEncoder<CommandsData>
| Modifier and Type | Field and Description |
|---|---|
static CommandBatchEncoder |
INSTANCE |
| Constructor and Description |
|---|
CommandBatchEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
CommandsData msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final CommandBatchEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
CommandsData msg,
io.netty.buffer.ByteBuf out)
throws Exception
encode in class io.netty.handler.codec.MessageToByteEncoder<CommandsData>ExceptionCopyright © 2014–2017 The Redisson Project. All rights reserved.