janus.web.timer
Class TimerLoop

java.lang.Object
  extended by java.lang.Thread
      extended by janus.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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
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, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
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

Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2008 MvC Systemsoftware.