frysk.sys
Class Itimer

java.lang.Object
  extended by frysk.sys.Itimer

public final class Itimer
extends Object

Schedule an interval timer.


Constructor Summary
Itimer()
           
 
Method Summary
static Signal real(long value)
          Schedule a real-time interval timer VALUE milli-seconds into the future.
static Signal real(long interval, long value)
          Schedule a real-time interval timer VALUE milli-seconds into the future with repeats, after that, every INTERVAL mulli-seconds.
static int sleep(int seconds)
          Wait for the specified time; this is a blocking call.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Itimer

public Itimer()
Method Detail

real

public static Signal real(long interval,
                          long value)
Schedule a real-time interval timer VALUE milli-seconds into the future with repeats, after that, every INTERVAL mulli-seconds. Delivers Signal.ALRM upon expiration.


real

public static Signal real(long value)
Schedule a real-time interval timer VALUE milli-seconds into the future. Delivers Signal.ALRM upon expiration.


sleep

public static int sleep(int seconds)
Wait for the specified time; this is a blocking call.