private class GlobalEventManager.PurgeWorker
extends java.lang.Thread
Modifier | Constructor and Description |
---|---|
private |
PurgeWorker()
Constructor which launches this worker's dedicated thread.
|
Modifier and Type | Method and Description |
---|---|
private void |
purgeEvents()
Purge expired events from the event queue, or reset the queue entirely if there are no
registrants at the time this method is invoked.
|
private void |
purgeRegistrants()
Walk from oldest to most recent registrant, deregistering those that
have been idle more than the required timeout period.
|
void |
run()
Run in an infinite loop, waiting for purge notifications from the
event manager at the top of each pass.
|
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
private PurgeWorker()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
private void purgeRegistrants()
private void purgeEvents()