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.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.core.cache.MyThread
cleanupInterval
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description LockingCleanup(MyLoggingFacade logger, String name)
-
Method Summary
-
Methods inherited from class edu.uiuc.ncsa.security.core.cache.Cleanup
addRetentionPolicy, 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.MyThread
debug, debug, getAlarms, getCleanupInterval, getNextSleepInterval, info, isStopThread, isTestMode, setAlarms, setCleanupInterval, setStopThread, setTestMode, warn
-
Methods inherited from class java.lang.Thread
activeCount, 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
-
LockingCleanup
public LockingCleanup(MyLoggingFacade logger, String name)
-
-