public class CommandPubSubDecoder extends CommandDecoder
log
Constructor and Description |
---|
CommandPubSubDecoder(ExecutorService executor,
boolean keepOrder) |
Modifier and Type | Method and Description |
---|---|
void |
addPubSubCommand(String channel,
CommandData<Object,Object> data) |
protected void |
decodeResult(CommandData<Object,Object> data,
List<Object> parts,
io.netty.channel.Channel channel,
Object result) |
protected MultiDecoder<Object> |
messageDecoder(CommandData<Object,Object> data,
List<Object> parts) |
protected Decoder<Object> |
selectDecoder(CommandData<Object,Object> data,
List<Object> parts) |
decode, decode, readBytes, readLong
callDecode, checkpoint, checkpoint, state, state
actualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public CommandPubSubDecoder(ExecutorService executor, boolean keepOrder)
public void addPubSubCommand(String channel, CommandData<Object,Object> data)
protected void decodeResult(CommandData<Object,Object> data, List<Object> parts, io.netty.channel.Channel channel, Object result) throws IOException
decodeResult
in class CommandDecoder
IOException
protected MultiDecoder<Object> messageDecoder(CommandData<Object,Object> data, List<Object> parts)
messageDecoder
in class CommandDecoder
protected Decoder<Object> selectDecoder(CommandData<Object,Object> data, List<Object> parts)
selectDecoder
in class CommandDecoder
Copyright © 2014–2018 The Redisson Project. All rights reserved.