T
- input typeR
- output typepublic class BatchCommandData<T,R> extends CommandData<T,R> implements Comparable<BatchCommandData<T,R>>
Constructor and Description |
---|
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, toString
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<BatchCommandData<T,R>>
Copyright © 2014–2017 The Redisson Project. All rights reserved.