Package play.utils
Class ImmediateFuture
java.lang.Object
play.utils.ImmediateFuture
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ImmediateFuture
public ImmediateFuture()
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture<Boolean>
-
isDone
public boolean isDone() -
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
-