java.lang.Object
com.sun.xml.ws.util.CompletedFuture<T>
- All Implemented Interfaces:
Future<T>
Future
implementation that obtains an already available value.- Author:
- Kohsuke Kawaguchi, Jitendra Kotamraju
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CompletedFuture
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<T>
-
isDone
public boolean isDone() -
get
- Specified by:
get
in interfaceFuture<T>
- Throws:
ExecutionException
-
get
- Specified by:
get
in interfaceFuture<T>
- Throws:
ExecutionException
-