public class CommandData<T,R> extends Object implements QueueCommand
PUBSUB_COMMANDS, TIMEOUTLESS_COMMANDS
Constructor and Description |
---|
CommandData(io.netty.util.concurrent.Promise<R> promise,
Codec codec,
RedisCommand<T> command,
Object[] params) |
CommandData(io.netty.util.concurrent.Promise<R> promise,
MultiDecoder<Object> messageDecoder,
Codec codec,
RedisCommand<T> command,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
Codec |
getCodec() |
RedisCommand<T> |
getCommand() |
MultiDecoder<Object> |
getMessageDecoder() |
Object[] |
getParams() |
io.netty.util.concurrent.Promise<R> |
getPromise() |
List<CommandData<Object,Object>> |
getPubSubOperations() |
boolean |
isBlockingCommand() |
String |
toString() |
public CommandData(io.netty.util.concurrent.Promise<R> promise, Codec codec, RedisCommand<T> command, Object[] params)
public CommandData(io.netty.util.concurrent.Promise<R> promise, MultiDecoder<Object> messageDecoder, Codec codec, RedisCommand<T> command, Object[] params)
public RedisCommand<T> getCommand()
public Object[] getParams()
public MultiDecoder<Object> getMessageDecoder()
public io.netty.util.concurrent.Promise<R> getPromise()
public Codec getCodec()
public List<CommandData<Object,Object>> getPubSubOperations()
getPubSubOperations
in interface QueueCommand
public boolean isBlockingCommand()
Copyright © 2014–2016. All rights reserved.