Package dev.comfast.util.waiter
Class WaiterState
java.lang.Object
dev.comfast.util.waiter.WaiterState
Handle all timing calculations for Waiter.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WaiterState
-
-
Method Details
-
nextTry
public boolean nextTry()Start new timing loop.- Returns:
- return false if timeout exceed
-
getTries
public int getTries()
-