com.google.code.tempusfugit.temporal
Class WaitFor
java.lang.Object
com.google.code.tempusfugit.temporal.WaitFor
public final class WaitFor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SLEEP_PERIOD
public static final Duration SLEEP_PERIOD
waitOrTimeout
public static void waitOrTimeout(Condition condition,
Timeout timeout)
throws InterruptedException,
TimeoutException
- Throws:
InterruptedException
TimeoutException
- Since:
- 1.1
waitOrTimeout
public static void waitOrTimeout(Condition condition,
Timeout timeout,
Sleeper sleeper)
throws TimeoutException,
InterruptedException
- Throws:
TimeoutException
InterruptedException
- Since:
- 1.1
waitOrTimeout
public static <T,E extends Exception> void waitOrTimeout(Condition condition,
Callable<T,E> onTimeout,
Timeout timeout)
throws InterruptedException,
E extends Exception
- Throws:
InterruptedException
E extends Exception
- Since:
- 1.2
waitUntil
public static void waitUntil(Timeout timeout)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.