Class TimeoutPredicate<T>
java.lang.Object
io.nosqlbench.adapters.api.scheduling.TimeoutPredicate<T>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enum -
Method Summary
Modifier and TypeMethodDescriptionlongstatic <PT> TimeoutPredicate<PT> static <PT> TimeoutPredicate<PT> of(Supplier<PT> source, Predicate<PT> predicate, Duration timeout, Duration interval, boolean rethrow) test()toString()
-
Method Details
-
of
public static <PT> TimeoutPredicate<PT> of(Predicate<PT> o, Duration timeout, Duration interval, boolean b) -
of
public static <PT> TimeoutPredicate<PT> of(Supplier<PT> source, Predicate<PT> predicate, Duration timeout, Duration interval, boolean rethrow) -
test
-
test
-
blockUntilNextInterval
public long blockUntilNextInterval() -
toString
-