EventEvaluator.Resource
Class Timer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--EventEvaluator.Resource.Timer
All Implemented Interfaces:
java.lang.Runnable

public class Timer
extends java.lang.Thread

Implements the timer that periodically checks if there is active events whose occurence must be notified.


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Timer(TimerList timerList)
          Receive the list of active events whose expression are currently TRUE.
 
Method Summary
 void run()
          Wake-up every second and calls a method that verifys if there is active events whose occurence must be notified.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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
 

Constructor Detail

Timer

public Timer(TimerList timerList)
Receive the list of active events whose expression are currently TRUE.
Parameters:
timerList - reference to the list of active events
Method Detail

run

public void run()
Wake-up every second and calls a method that verifys if there is active events whose occurence must be notified.
Overrides:
run in class java.lang.Thread