| Constructor and Description |
|---|
InfiniteTimeout() |
| Modifier and Type | Method and Description |
|---|---|
long |
timeRemaining()
Returns the time remaining, to be passed to
wait
or throws TimeoutException if the timeout has expired. |
public long timeRemaining()
throws java.util.concurrent.TimeoutException
Timeoutwait
or throws TimeoutException if the timeout has expired.timeRemaining in interface Timeoutjava.util.concurrent.TimeoutException