public class LateralCacheMonitor extends AbstractAuxiliaryCacheMonitor
Thread.State, Thread.UncaughtExceptionHandlerallright, idlePeriod, logMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LateralCacheMonitor(LateralTCPCacheFactory factory)
Constructor for the LateralCacheMonitor object
It's the clients responsibility to decide how many of these there will be.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCache(LateralCacheNoWait<?,?> cache)
Add a cache to be monitored
|
void |
dispose()
Clean up all resources before shutdown
|
void |
doWork()
Main processing method for the LateralCacheMonitor object
|
protected static void |
forceShortIdlePeriod(long idlePeriod)
Deprecated.
Use setIdlePeriod()
|
notifyError, notifyShutdown, run, setIdlePeriodactiveCount, 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, yieldpublic LateralCacheMonitor(LateralTCPCacheFactory factory)
It's the clients responsibility to decide how many of these there will be.
factory - a reference to the factory that manages the service instances@Deprecated protected static void forceShortIdlePeriod(long idlePeriod)
idlePeriod - public void addCache(LateralCacheNoWait<?,?> cache)
cache - the cachepublic void dispose()
dispose in class AbstractAuxiliaryCacheMonitorpublic void doWork()
doWork in class AbstractAuxiliaryCacheMonitorCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.