janus.web.timer
Class TimerLoop

java.lang.Object
  extended byjava.lang.Thread
      extended byjanus.web.timer.TimerLoop
All Implemented Interfaces:
Runnable

public class TimerLoop
extends Thread

Bearbeite zeitgesteuerte Aufgaben. Die Klasse erzeugt einen eigenen Thread, der alle Minute einmal aufwacht und die Timer-Objekte aufruft, die gerade dran sind.

See Also:
TimerObject, TimerData, TimerLoop, TimerConfig

Field Summary
protected  Logger log
          Logging
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TimerLoop(TimerData[] timers)
          Erzeuge und starte den Thread
 
Method Summary
 void run()
          Thread-Code
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected Logger log
Logging

Constructor Detail

TimerLoop

public TimerLoop(TimerData[] timers)
Erzeuge und starte den Thread

Parameters:
timers - Liste mit den Timer-Einträgen
Method Detail

run

public void run()
Thread-Code



Copyright © 2007 MvC Systemsoftware.