Class Waiter


  • public class Waiter
    extends Object
    • Constructor Detail

      • Waiter

        public Waiter()
    • Method Detail

      • waitFor

        public static boolean waitFor​(Waiter.Condition condition,
                                      TimeUnit unit,
                                      long timeout,
                                      TimeUnit parkUnit,
                                      long parkTime)
        This method will wait for the condition.result to be true or a timeout has ocurred. it will return the last result.