Class FixedTimeout
- java.lang.Object
-
- org.jmock.lib.concurrent.internal.FixedTimeout
-
-
Constructor Summary
Constructors Constructor Description FixedTimeout(long duration)
-
Method Summary
All Methods Instance Methods Concrete 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
public long timeRemaining() throws TimeoutExceptionDescription copied from interface:TimeoutReturns the time remaining, to be passed towaitor throws TimeoutException if the timeout has expired.- Specified by:
timeRemainingin interfaceTimeout- Throws:
TimeoutException
-
-