public interface TaskWaiter
Modifier and Type | Method and Description |
---|---|
void |
waitFor()
waitFor
|
void |
waitFor(long timeout,
TimeUnit unit)
waitFor
|
void waitFor() throws InterruptedException, ExecutionException
waitFor
InterruptedException
- if any.ExecutionException
- if any.void waitFor(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
waitFor
timeout
- a long.unit
- a TimeUnit
object.InterruptedException
- if any.ExecutionException
- if any.TimeoutException
- if any.Copyright © 2017. All rights reserved.