Class CompletedFuture<V>
java.lang.Object
one.nio.async.CompletedFuture<V>
- All Implemented Interfaces:
Serializable, Future<V>
- See Also:
-
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
-
-
Constructor Details
-
CompletedFuture
-
-
Method Details
-
cancel
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<V>
-
isDone
-
get
-
get
-