Class ImmediateFuture
java.lang.Object
net.spy.memcached.internal.ImmediateFuture
-
Nested Class Summary
Nested classes/interfaces inherited from interface Future
Future.State -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Future
exceptionNow, resultNow, state
-
Field Details
-
value
-
exception
-
-
Constructor Details
-
ImmediateFuture
-
ImmediateFuture
-
-
Method Details
-
cancel
-
get
- Specified by:
getin interfaceFuture<Boolean>- Throws:
InterruptedExceptionExecutionException
-
get
public Boolean get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture<Boolean>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<Boolean>
-
isDone
-