Interface Timeout
-
- All Known Implementing Classes:
FixedTimeout,InfiniteTimeout
public interface Timeout
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longtimeRemaining()Returns the time remaining, to be passed towaitor throws TimeoutException if the timeout has expired.
-
-
-
Method Detail
-
timeRemaining
long timeRemaining() throws TimeoutExceptionReturns the time remaining, to be passed towaitor throws TimeoutException if the timeout has expired.- Throws:
TimeoutException
-
-