T
- input typeR
- output typepublic class CommandData<T,R> extends Object implements QueueCommand
Constructor and Description |
---|
CommandData(RPromise<R> promise,
Codec codec,
RedisCommand<T> command,
Object[] params) |
CommandData(RPromise<R> promise,
MultiDecoder<Object> messageDecoder,
Codec codec,
RedisCommand<T> command,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
Throwable |
cause() |
Codec |
getCodec() |
RedisCommand<T> |
getCommand() |
MultiDecoder<Object> |
getMessageDecoder() |
Object[] |
getParams() |
RPromise<R> |
getPromise() |
List<CommandData<Object,Object>> |
getPubSubOperations() |
boolean |
isBlockingCommand() |
boolean |
isSuccess() |
String |
toString() |
boolean |
tryFailure(Throwable cause) |
public CommandData(RPromise<R> promise, Codec codec, RedisCommand<T> command, Object[] params)
public CommandData(RPromise<R> promise, MultiDecoder<Object> messageDecoder, Codec codec, RedisCommand<T> command, Object[] params)
public RedisCommand<T> getCommand()
public Object[] getParams()
public MultiDecoder<Object> getMessageDecoder()
public Throwable cause()
public boolean isSuccess()
public boolean tryFailure(Throwable cause)
tryFailure
in interface QueueCommand
public Codec getCodec()
public List<CommandData<Object,Object>> getPubSubOperations()
getPubSubOperations
in interface QueueCommand
public boolean isBlockingCommand()
Copyright © 2014–2017 The Redisson Project. All rights reserved.