public class ClusterUtils
extends java.lang.Object
| Constructor and Description |
|---|
ClusterUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
waitUntilConditionMet(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.BooleanSupplier test) |
static void |
waitUntilConditionMet(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.BooleanSupplier test,
java.util.function.Supplier<java.lang.String> errorMessageSupplier) |
static <T> T |
waitUntilNonNull(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.Supplier<T> test) |
public static void waitUntilConditionMet(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.BooleanSupplier test)
public static void waitUntilConditionMet(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.BooleanSupplier test,
java.util.function.Supplier<java.lang.String> errorMessageSupplier)
public static <T> T waitUntilNonNull(long time,
java.util.concurrent.TimeUnit timeUnit,
java.util.function.Supplier<T> test)