Class LockingCleanup<K,V>
- java.lang.Object
- 
- java.lang.Thread
- 
- edu.uiuc.ncsa.security.core.cache.MyThread
- 
- edu.uiuc.ncsa.security.core.cache.Cleanup<K,V>
- 
- edu.uiuc.ncsa.security.core.cache.LockingCleanup<K,V>
 
 
 
 
- 
- All Implemented Interfaces:
- Runnable
 
 public class LockingCleanup<K,V> extends Cleanup<K,V> Extension of cleanup that adds a lock to the store. If this lock is there, then no GC will happen. Note that since stores are maps, there is no reason to set the map, just the store.Created by Jeff Gaynor 
 on 4/11/22 at 1:18 PM
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class java.lang.ThreadThread.State, Thread.UncaughtExceptionHandler
 
- 
 - 
Field Summary- 
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 LockingCleanup(MyLoggingFacade logger, String name)
 - 
Method Summary- 
Methods inherited from class edu.uiuc.ncsa.security.core.cache.CleanupaddRetentionPolicy, age, getFailures, getMap, getRetentionPolicies, getSortedKeys, getStore, info, isEnabledLocking, isFailOnError, oldAge, removeRetentionPolicy, run, setEnabledLocking, setFailOnError, setMap, setRetentionPolicies, setStore
 - 
Methods inherited from class edu.uiuc.ncsa.security.core.cache.MyThreaddebug, debug, getAlarms, getCleanupInterval, getNextSleepInterval, info, isStopThread, isTestMode, setAlarms, setCleanupInterval, setStopThread, setTestMode, warn
 - 
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
 
- 
 
- 
- 
- 
Constructor Detail- 
LockingCleanuppublic LockingCleanup(MyLoggingFacade logger, String name) 
 
- 
 
-