Uses of Interface
net.sf.asyncobjects.util.timer.ATimer

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
<T> Promise<T>
TimerUtils.delayFor(ATimer timer, long delay, Promise<T> value)
          Delay returning value until spefied time
static
<T> Promise<T>
TimerUtils.delayFor(ATimer timer, long delay, T value)
          Delay returning value until spefied time
static
<T> Promise<T>
TimerUtils.delayUntil(ATimer timer, Date time, Promise<T> value)
          Delay returning value until spefied time
static
<T> Promise<T>
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
<T> Promise<T>
TimerUtils.timeout(ATimer timer, long delay, Throwable t)
          Smash result promise with the specified exception after specified time
static
<T> Promise<T>
TimerUtils.timeoutAt(ATimer timer, Date time, Throwable t)
          Smash result promise with the specified exception after specified time
 



Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.