Package io.fabric8.maven.docker.wait
Class WaitUtil
- java.lang.Object
-
- io.fabric8.maven.docker.wait.WaitUtil
-
public class WaitUtil extends Object
- Since:
- 18.10.14
- Author:
- roland
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWaitUtil.PreconditionSimple interfact for checking some preconditions
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidsleep(long millis)Sleep a bitstatic longwait(int wait, Callable<Void> callable)static longwait(WaitUtil.Precondition precondition, int maxWait, WaitChecker... checkers)static longwait(WaitUtil.Precondition precondition, int maxWait, Iterable<WaitChecker> checkers)
-
-
-
Method Detail
-
wait
public static long wait(int wait, Callable<Void> callable) throws ExecutionException, WaitTimeoutException
-
wait
public static long wait(WaitUtil.Precondition precondition, int maxWait, WaitChecker... checkers) throws WaitTimeoutException, PreconditionFailedException
-
wait
public static long wait(WaitUtil.Precondition precondition, int maxWait, Iterable<WaitChecker> checkers) throws WaitTimeoutException, PreconditionFailedException
-
sleep
public static void sleep(long millis)
Sleep a bit- Parameters:
millis- how long to sleep in milliseconds
-
-