T
- input typeR
- output typeComparable<BatchCommandData<T,R>>
, QueueCommand
public class BatchCommandData<T,R> extends CommandData<T,R> implements Comparable<BatchCommandData<T,R>>
Constructor | 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 | Description |
---|---|---|
Throwable |
cause() |
|
void |
clearError() |
|
int |
compareTo(BatchCommandData<T,R> o) |
|
boolean |
isSuccess() |
|
boolean |
tryFailure(Throwable cause) |
getCodec, getCommand, getMessageDecoder, getParams, getPromise, getPubSubOperations, isBlockingCommand, isExecuted, toString
public BatchCommandData(RedisCommand<T> command, Object[] params, int index)
public boolean tryFailure(Throwable cause)
tryFailure
in interface QueueCommand
tryFailure
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<T>
Copyright © 2014–2018 The Redisson Project. All rights reserved.