com.isti.trinetwatch.station
Class StationTable.PurgeLevelsCacheThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.isti.util.IstiThread
          extended by com.isti.util.IstiNotifyThread
              extended by com.isti.trinetwatch.station.StationTable.PurgeLevelsCacheThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
StationTable

protected class StationTable.PurgeLevelsCacheThread
extends IstiNotifyThread

Class PurgeLevelsCacheThread defines a thread that manages the clearing of old entries from the station-levels cache.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  long stationLevelsCacheSecs
           
 
Fields inherited from class com.isti.util.IstiThread
DEFAULT_TERMINATE_WAIT_TIME, terminateFlag
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
StationTable.PurgeLevelsCacheThread(long levelsCacheSecs)
          Creates a station-levels cache purge thread.
 
Method Summary
 void run()
          Executing method for thread.
 
Methods inherited from class com.isti.util.IstiNotifyThread
sleep, terminate
 
Methods inherited from class com.isti.util.IstiThread
clearThreadWaitNotifyFlag, isTerminated, nextThreadNum, notifyThread, start, terminate, waitForNotify, waitForNotify, waitForTerminate, waitForTerminate, wasStarted
 
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, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stationLevelsCacheSecs

protected final long stationLevelsCacheSecs
Constructor Detail

StationTable.PurgeLevelsCacheThread

public StationTable.PurgeLevelsCacheThread(long levelsCacheSecs)
Creates a station-levels cache purge thread.

Parameters:
levelsCacheSecs - maximum age for entries in cache, in seconds.
Method Detail

run

public void run()
Executing method for thread.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread