public class JavaFutureActionWrapper<S,T> extends Object implements JavaFutureAction<T>
Constructor and Description |
---|
JavaFutureActionWrapper(FutureAction<S> futureAction,
scala.Function1<S,T> converter) |
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(boolean mayInterruptIfRunning) |
T |
get() |
T |
get(long timeout,
java.util.concurrent.TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
java.util.List<Integer> |
jobIds()
Returns the job IDs run by the underlying async operation.
|
public JavaFutureActionWrapper(FutureAction<S> futureAction, scala.Function1<S,T> converter)
public boolean isCancelled()
isCancelled
in interface java.util.concurrent.Future<T>
public boolean isDone()
isDone
in interface java.util.concurrent.Future<T>
public java.util.List<Integer> jobIds()
JavaFutureAction
jobIds
in interface JavaFutureAction<T>
public T get(long timeout, java.util.concurrent.TimeUnit unit)
get
in interface java.util.concurrent.Future<T>
public boolean cancel(boolean mayInterruptIfRunning)
cancel
in interface java.util.concurrent.Future<T>