Package com.atlassian.bamboo.util
Class InfinityMethodPoller<T>
- java.lang.Object
-
- com.atlassian.bamboo.util.InfinityMethodPoller<T>
-
public class InfinityMethodPoller<T> extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Texecute()InfinityMethodPoller<T>method(Supplier<T> supplier)static <T> InfinityMethodPoller<T>poll(Duration pollIntervalDuration)InfinityMethodPoller<T>until(Predicate<T> predicate)
-
-
-
Method Detail
-
poll
public static <T> InfinityMethodPoller<T> poll(Duration pollIntervalDuration)
-
method
public InfinityMethodPoller<T> method(Supplier<T> supplier)
-
until
public InfinityMethodPoller<T> until(Predicate<T> predicate)
-
execute
public T execute()
-
-