|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.swing.timing.Timeout
public final class Timeout
Understands a timeout.
| Method Summary | |
|---|---|
long |
duration()
Returns the duration of the timeout in milliseconds. |
static Timeout |
timeout(long duration)
Creates a new . |
static Timeout |
timeout(long duration,
TimeUnit timeUnit)
Creates a new . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Timeout timeout(long duration)
Timeout.
duration - the duration of the timeout in milliseconds.
Timeout.
public static Timeout timeout(long duration,
TimeUnit timeUnit)
Timeout.
duration - the duration of the timeout.timeUnit - the unit of time of the timeout.
Timeout.
NullPointerException - if the given time unit is null.public long duration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||