Package org.redisson.client.handler
Class CommandsQueuePubSub
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelDuplexHandler
-
- org.redisson.client.handler.CommandsQueuePubSub
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.channel.ChannelOutboundHandler
public class CommandsQueuePubSub extends io.netty.channel.ChannelDuplexHandler- Author:
- Nikita Koksharov
-
-
Field Summary
Fields Modifier and Type Field Description static io.netty.util.AttributeKey<QueueCommand>CURRENT_COMMAND
-
Constructor Summary
Constructors Constructor Description CommandsQueuePubSub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchannelInactive(io.netty.channel.ChannelHandlerContext ctx)voidsendNextCommand(io.netty.channel.Channel channel)voidwrite(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)-
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
CURRENT_COMMAND
public static final io.netty.util.AttributeKey<QueueCommand> CURRENT_COMMAND
-
-
Method Detail
-
sendNextCommand
public void sendNextCommand(io.netty.channel.Channel channel)
-
channelInactive
public void channelInactive(io.netty.channel.ChannelHandlerContext ctx) throws Exception- Specified by:
channelInactivein interfaceio.netty.channel.ChannelInboundHandler- Overrides:
channelInactivein classio.netty.channel.ChannelInboundHandlerAdapter- Throws:
Exception
-
-