org.webmacro.util
Class ThreadScheduler

java.lang.Object
  |
  +--org.webmacro.util.ThreadScheduler

public final class ThreadScheduler
extends java.lang.Object

Creates scheduling events at regular intervals by running a high priority thread which sleeps in a loop.


Constructor Summary
ThreadScheduler()
           
 
Method Summary
static void start(long interval)
          Start scheduling thread events
static void stop()
          Stop scheduling thread events
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadScheduler

public ThreadScheduler()
Method Detail

stop

public static final void stop()
Stop scheduling thread events

start

public static final void start(long interval)
Start scheduling thread events