public class WatcherCleaner extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
WatcherCleaner(IDeadWatcherListener listener) |
WatcherCleaner(IDeadWatcherListener listener,
int watcherCleanThreshold,
int watcherCleanIntervalInSeconds,
int watcherCleanThreadsNum,
int maxInProcessingDeadWatchers) |
Modifier and Type | Method and Description |
---|---|
void |
addDeadWatcher(int watcherBit) |
void |
run() |
void |
shutdown() |
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 WatcherCleaner(IDeadWatcherListener listener)
public WatcherCleaner(IDeadWatcherListener listener, int watcherCleanThreshold, int watcherCleanIntervalInSeconds, int watcherCleanThreadsNum, int maxInProcessingDeadWatchers)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.