public class RemoteHttpCacheMonitor extends AbstractAuxiliaryCacheMonitor
Thread.State, Thread.UncaughtExceptionHandler
allright, idlePeriod, log
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
RemoteHttpCacheMonitor(RemoteHttpCacheFactory factory)
Constructor for the RemoteCacheMonitor object
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispose()
Clean up all resources before shutdown
|
protected void |
doWork()
Main processing method for the RemoteHttpCacheMonitor object
|
void |
notifyError(RemoteHttpCache<?,?> remoteCache)
Notifies the cache monitor that an error occurred, and kicks off the error recovery process.
|
notifyError, notifyShutdown, run, setIdlePeriod
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
public RemoteHttpCacheMonitor(RemoteHttpCacheFactory factory)
factory
- the factory to setpublic void notifyError(RemoteHttpCache<?,?> remoteCache)
remoteCache
- protected void dispose()
dispose
in class AbstractAuxiliaryCacheMonitor
protected void doWork()
doWork
in class AbstractAuxiliaryCacheMonitor
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.