Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected long |
delayTime |
protected Object |
lock |
protected Log |
logger |
protected boolean |
stopRequested |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
EventProcessingThread(String name,
long delayTime) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
delay(long timeToDelay) |
protected abstract void |
doRun()
Detect and process events
|
void |
processNow() |
void |
run() |
void |
stopProcessing()
Stops the monitoring of the expired groups.
|
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
protected final Log logger
protected volatile boolean stopRequested
protected long delayTime
protected Object lock
public EventProcessingThread(String name, long delayTime)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.