public static class JRedisFutureSupport.FutureObjectInfo extends JRedisFutureSupport.FutureResultBase implements java.util.concurrent.Future<ObjectInfo>
pendingRequest| Modifier | Constructor and Description |
|---|---|
protected |
FutureObjectInfo(java.util.concurrent.Future<Response> pendingRequest) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInfo |
get() |
ObjectInfo |
get(long timeout,
java.util.concurrent.TimeUnit unit) |
private ObjectInfo |
getObjectInfo(ValueResponse resp) |
cancel, isCancelled, isDoneprotected FutureObjectInfo(java.util.concurrent.Future<Response> pendingRequest)
private final ObjectInfo getObjectInfo(ValueResponse resp)
public ObjectInfo get() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
get in interface java.util.concurrent.Future<ObjectInfo>java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic ObjectInfo get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.util.concurrent.TimeoutException
get in interface java.util.concurrent.Future<ObjectInfo>java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionjava.util.concurrent.TimeoutException