Class TimeUtils
java.lang.Object
org.apache.activemq.artemis.utils.TimeUtils
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StringprintDuration(double uptime) Prints the duration in a human readable format as X days Y hours Z minutes etc.static booleanwaitOnBoolean(boolean expected, long timeout, TimeUtils.CheckMethod check)
-
Method Details
-
printDuration
Prints the duration in a human readable format as X days Y hours Z minutes etc.- Parameters:
uptime- the uptime in millis- Returns:
- the time used for displaying on screen or in logs
-
waitOnBoolean
-