Class Waiter
java.lang.Object
org.apache.activemq.artemis.utils.Waiter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanwaitFor(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.
-
Constructor Details
-
Waiter
public Waiter()
-
-
Method Details
-
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.
-