public static class JRedisFutureSupport.FutureLong extends JRedisFutureSupport.FutureResultBase implements Future<Long>
pendingRequest| Modifier | Constructor and Description |
|---|---|
protected |
FutureLong(Future<Response> pendingRequest) |
| Modifier and Type | Method and Description |
|---|---|
Long |
get() |
Long |
get(long timeout,
TimeUnit unit) |
cancel, isCancelled, isDoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, isCancelled, isDonepublic Long get() throws InterruptedException, ExecutionException
get in interface Future<Long>InterruptedExceptionExecutionExceptionpublic Long get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get in interface Future<Long>InterruptedExceptionExecutionExceptionTimeoutExceptionCopyright © 2009–2021. All rights reserved.