public final class TimeUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimeUtils.CheckMethod |
| Modifier and Type | Method and Description |
|---|---|
static String |
printDuration(double uptime)
Prints the duration in a human readable format as X days Y hours Z minutes etc.
|
static boolean |
waitOnBoolean(boolean expected,
long timeout,
TimeUtils.CheckMethod check) |
public static String printDuration(double uptime)
uptime - the uptime in millispublic static boolean waitOnBoolean(boolean expected,
long timeout,
TimeUtils.CheckMethod check)
Copyright © 2017 JBoss by Red Hat. All rights reserved.