Class Poller


  • public class Poller
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Poller()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T retryIfFails​(java.util.function.Supplier<T> predicate, long timeout)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Poller

        public Poller()
    • Method Detail

      • retryIfFails

        public static <T> T retryIfFails​(java.util.function.Supplier<T> predicate,
                                         long timeout)