Class LastAccessedThread
- java.lang.Object
- 
- java.lang.Thread
- 
- edu.uiuc.ncsa.security.core.cache.MyThread
- 
- edu.uiuc.ncsa.security.storage.events.LastAccessedThread
 
 
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.lang.ThreadThread.State, Thread.UncaughtExceptionHandler
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringLOCK_ID- 
Fields inherited from class edu.uiuc.ncsa.security.core.cache.MyThreadcleanupInterval
 - 
Fields inherited from class java.lang.ThreadMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
- 
 - 
Constructor SummaryConstructors Constructor Description LastAccessedThread(String name, MyLoggingFacade logger, LastAccessedEventListener lastAccessedEventListener)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinfo(String x)booleanisDebugOn()booleanisStopThread()Is this thread set to stop?voidrun()voidsetDebugOn(boolean debugOn)voidsetStopThread(boolean stopThread)Sets the flag to stop this thread.protected voidupdateStore()protected voidwarn(String x)- 
Methods inherited from class edu.uiuc.ncsa.security.core.cache.MyThreaddebug, debug, getAlarms, getCleanupInterval, getNextSleepInterval, isTestMode, setAlarms, setCleanupInterval, setTestMode
 - 
Methods inherited from class java.lang.ThreadactiveCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
 
- 
 
- 
- 
- 
Field Detail- 
LOCK_IDpublic static String LOCK_ID 
 
- 
 - 
Constructor Detail- 
LastAccessedThreadpublic LastAccessedThread(String name, MyLoggingFacade logger, LastAccessedEventListener lastAccessedEventListener) 
 
- 
 - 
Method Detail- 
isDebugOnpublic boolean isDebugOn() 
 - 
setDebugOnpublic void setDebugOn(boolean debugOn) 
 - 
updateStoreprotected void updateStore() 
 - 
isStopThreadpublic boolean isStopThread() Description copied from class:MyThreadIs this thread set to stop?- Overrides:
- isStopThreadin class- MyThread
- Returns:
 
 - 
setStopThreadpublic void setStopThread(boolean stopThread) Description copied from class:MyThreadSets the flag to stop this thread. The next time the thread wakes up after this is enabled, the thread will exit. This allows for a clean shutdown of caching.- Overrides:
- setStopThreadin class- MyThread
 
 
- 
 
-