public class CommandsQueue
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static io.netty.util.AttributeKey<QueueCommand> |
CURRENT_COMMAND |
| Constructor and Description |
|---|
CommandsQueue() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
sendNextCommand(io.netty.channel.Channel channel) |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic static final io.netty.util.AttributeKey<QueueCommand> CURRENT_COMMAND
public void sendNextCommand(io.netty.channel.Channel channel)
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionCopyright © 2014–2017 The Redisson Project. All rights reserved.