public class DelegatingCommand<K,V,T>
extends com.lambdaworks.redis.protocol.Command<K,V,T>
Modifier and Type | Field and Description |
---|---|
private com.lambdaworks.redis.protocol.Command<K,V,T> |
delegate |
Constructor and Description |
---|
DelegatingCommand(com.lambdaworks.redis.protocol.Command<K,V,T> d) |
Modifier and Type | Method and Description |
---|---|
boolean |
await(long timeout,
TimeUnit unit) |
boolean |
cancel(boolean ignored) |
void |
complete() |
boolean |
equals(Object obj) |
T |
get() |
T |
get(long timeout,
TimeUnit unit) |
com.lambdaworks.redis.protocol.CommandOutput<K,V,T> |
getOutput() |
int |
hashCode() |
boolean |
isCancelled() |
boolean |
isDone() |
String |
toString() |
public boolean cancel(boolean ignored)
public boolean isCancelled()
public boolean isDone()
public T get()
public T get(long timeout, TimeUnit unit) throws TimeoutException
public boolean await(long timeout, TimeUnit unit)
public void complete()