Uses of Class
software.amazon.awssdk.testutils.Waiter
-
Packages that use Waiter Package Description software.amazon.awssdk.testutils -
-
Uses of Waiter in software.amazon.awssdk.testutils
Methods in software.amazon.awssdk.testutils that return Waiter Modifier and Type Method Description Waiter<T>Waiter. failOn(Predicate<T> whenToFail)Define the condition on the response under which the thing we are trying has already failed and further attempts are pointless.Waiter<T>Waiter. ignoringException(Class<? extends Throwable>... whatToIgnore)Define the exception types that should be ignored if the thing we are trying throws them.static <T> Waiter<T>Waiter. run(Supplier<T> thingToTry)Create a waiter that attempts executing the provided function until the condition set withuntil(Predicate)is met or until it throws an exception.Waiter<T>Waiter. until(Predicate<T> whenToStop)Define the condition on the response under which the thing we are trying is complete.Waiter<T>Waiter. untilException(Class<? extends Throwable>... whenToStopOnException)Define the condition on an exception thrown under which the thing we are trying is complete.
-