iiitAccessServer 1.0

de.iiit.access.server.plugins.cachemanager
Class CacheToDoHandler

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--de.iiit.access.server.plugins.cachemanager.CacheToDoHandler
All Implemented Interfaces:
Runnable

public class CacheToDoHandler
extends Thread

This Class reads records of the todolist table one by one, evaluates the expressions and refreshes the persistent 2nd-level cache.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CacheToDoHandler(CacheManager manager)
          Creates a new instance of CacheToDoHandler
 
Method Summary
 void run()
          The main method of the CacheToDoHandler thread.
 void shutdown()
          This method is called by the AccessServer when the background threads should stop because of a shutdown of the AccessServer itself.
 
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
 

Constructor Detail

CacheToDoHandler

public CacheToDoHandler(CacheManager manager)
Creates a new instance of CacheToDoHandler

Parameters:
manager - The parent CacheManager holding the configuration data etc.
Method Detail

shutdown

public void shutdown()
This method is called by the AccessServer when the background threads should stop because of a shutdown of the AccessServer itself.


run

public void run()
The main method of the CacheToDoHandler thread.

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

iiitAccessServer 1.0

Copyright © 2002, 2003 ingeneurbuero fuer innovative informationstechnik, Dipl.-Ing. Joerg Beckmann, Dortmund, Germany. All Rights Reserved.
See Copyright statement