private static interface CurrentTaskFuture.AllTheWay
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
waitForResult(long timeout,
java.util.concurrent.TimeUnit unit)
The method to call on the internal job
|
java.lang.Boolean waitForResult(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, MultiException
timeout
- The amount of time to wait for a resultunit
- The unit of the above time valuejava.lang.InterruptedException
- On a thread getting jackedMultiException
- Other exceptions