T - input typeR - output typepublic class BatchCommandData<T,R> extends CommandData<T,R> implements Comparable<BatchCommandData<T,R>>
| Constructor and Description |
|---|
BatchCommandData(RedisCommand<T> command,
Object[] params,
int index) |
BatchCommandData(RPromise<R> promise,
Codec codec,
RedisCommand<T> command,
Object[] params,
int index) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
cause() |
void |
clearError() |
int |
compareTo(BatchCommandData<T,R> o) |
boolean |
isSuccess() |
boolean |
tryFailure(Throwable cause) |
getCodec, getCommand, getMessageDecoder, getParams, getPromise, getPubSubOperations, isBlockingCommand, toStringpublic BatchCommandData(RedisCommand<T> command, Object[] params, int index)
public boolean tryFailure(Throwable cause)
tryFailure in interface QueueCommandtryFailure in class CommandData<T,R>public boolean isSuccess()
isSuccess in class CommandData<T,R>public Throwable cause()
cause in class CommandData<T,R>public void clearError()
public int compareTo(BatchCommandData<T,R> o)
compareTo in interface Comparable<BatchCommandData<T,R>>Copyright © 2014–2018 The Redisson Project. All rights reserved.