org.jmock.lib.concurrent.internal
Interface Timeout

All Known Implementing Classes:
FixedTimeout, InfiniteTimeout

public interface Timeout


Method Summary
 long timeRemaining()
          Returns the time remaining, to be passed to wait or throws TimeoutException if the timeout has expired.
 

Method Detail

timeRemaining

long timeRemaining()
                   throws TimeoutException
Returns the time remaining, to be passed to wait or throws TimeoutException if the timeout has expired.

Throws:
TimeoutException


Copyright © 2003-2012 jMock. All Rights Reserved.