Interface CurrentTaskFuture.AllTheWay
- All Known Implementing Classes:
CurrentTaskFuture.DownAllTheWay
,CurrentTaskFuture.UpAllTheWay
- Enclosing class:
CurrentTaskFuture
private static interface CurrentTaskFuture.AllTheWay
-
Method Summary
Modifier and TypeMethodDescriptionwaitForResult
(long timeout, TimeUnit unit) The method to call on the internal job
-
Method Details
-
waitForResult
The method to call on the internal job- Parameters:
timeout
- The amount of time to wait for a resultunit
- The unit of the above time value- Returns:
- True if the job finished, False if the timeout is up prior to the job finishing, and null if the job was repurposed and the caller may now need to listen on a different job
- Throws:
InterruptedException
- On a thread getting jackedMultiException
- Other exceptions
-