Package | Description |
---|---|
org.jboss.weld.test.util |
Modifier and Type | Method and Description |
---|---|
Timer |
Timer.addStopCondition(Timer.StopCondition condition)
Add new stop condition.
|
Timer |
Timer.addStopCondition(Timer.StopCondition condition,
boolean clear)
Add new stop condition.
|
Timer |
Timer.setDelay(long delay)
Set the delay value.
|
Timer |
Timer.setDelay(long delay,
TimeUnit timeUnit)
Set the delay value.
|
Timer |
Timer.setResolutionLogic(Timer.ResolutionLogic resolutionLogic)
Set new resolution logic.
|
Timer |
Timer.setSleepInterval(long sleepInterval)
Set new sleep interval value.
|
Timer |
Timer.start()
Start the timer.
|
static Timer |
Timer.startNew(long delay)
Start a new timer with specified delay.
|
static Timer |
Timer.startNew(long delay,
long sleepInterval)
Start a new timer with specified delay and sleep interval.
|
Copyright © 2019. All rights reserved.