public class ExpiredEntryMonitor extends Thread
ExpiryScanner
implementations to scan
the action store to remove items deemed expired by some algorithm.
Performs a scan at interval defined by the property
com.arjuna.ats.arjuna.recovery.expiryScanInterval (hours).
ExpiryScanner implementations are registered as properties beginning with
"com.arjuna.ats.arjuna.recovery.expiryScanner".
Singleton, instantiated in the RecoveryManager.
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
run()
performs periodic scans until a shutdwn is notified
|
static void |
shutdown()
terminate any currently active monitor thread, cancelling any further scans but waiting for the
thread to exit before returning
|
static boolean |
startUp()
Start the monitor thread, if the properties make it appropriate
|
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, sleep, start, stop, stop, suspend, toString, yield
Copyright © 2021 JBoss by Red Hat. All rights reserved.