public static class JRedisFutureSupport.FutureString extends JRedisFutureSupport.FutureResultBase implements Future<String>
pendingRequest
Modifier | Constructor and Description |
---|---|
protected |
FutureString(Future<Response> pendingRequest) |
Modifier and Type | Method and Description |
---|---|
String |
get() |
String |
get(long timeout,
TimeUnit unit) |
cancel, isCancelled, isDone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancel, isCancelled, isDone
public String get() throws InterruptedException, ExecutionException
get
in interface Future<String>
InterruptedException
ExecutionException
public String get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<String>
InterruptedException
ExecutionException
TimeoutException
Copyright © 2009–2015. All rights reserved.