|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ATimer | |
---|---|
net.sf.asyncobjects.util.timer | This package contains generic timer interfaces and implementation
of them over Timer nad TimerTask
classes. |
Uses of ATimer in net.sf.asyncobjects.util.timer |
---|
Classes in net.sf.asyncobjects.util.timer that implement ATimer | |
---|---|
class |
TimerWrapper
A timer wrapper. |
Methods in net.sf.asyncobjects.util.timer with parameters of type ATimer | ||
---|---|---|
static
|
TimerUtils.delayFor(ATimer timer,
long delay,
Promise<T> value)
Delay returning value until spefied time |
|
static
|
TimerUtils.delayFor(ATimer timer,
long delay,
T value)
Delay returning value until spefied time |
|
static
|
TimerUtils.delayUntil(ATimer timer,
Date time,
Promise<T> value)
Delay returning value until spefied time |
|
static
|
TimerUtils.delayUntil(ATimer timer,
Date time,
T value)
Delay returning value until spefied time |
|
static Promise<Void> |
TimerUtils.sleepFor(ATimer timer,
long ms)
Sleep the specified amount of milliseconds |
|
static Promise<Void> |
TimerUtils.sleepUntil(ATimer timer,
Date time)
Sleep the specified amount of milliseconds |
|
static
|
TimerUtils.timeout(ATimer timer,
long delay,
Throwable t)
Smash result promise with the specified exception after specified time |
|
static
|
TimerUtils.timeoutAt(ATimer timer,
Date time,
Throwable t)
Smash result promise with the specified exception after specified time |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |