Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_SHUTDOWN_TIME |
static long |
DEFAULT_WAIT_TIME |
static long |
FREE_TIME |
protected boolean |
isSoftUpdated |
protected boolean |
isUpdateNotified |
static long |
RESCHEDULE_BUFFER_TIME |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
ChannelWorker(ChannelImpl<?> impl) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTimeOut(AtomicBoolean stop) |
TaskContainer |
getCurrentRunningTask() |
ChannelImpl |
getMessageChannel() |
long |
getSpoolTimeStamp() |
IChannelWorker |
getWorkerWrapper() |
boolean |
isGo() |
void |
notifySoftUpdate() |
void |
notifyUpdate() |
void |
notifyUpdate(long newRuntimeStamp) |
void |
run() |
protected boolean |
setMessageChannel(ChannelImpl eventQueue) |
void |
setSpoolTimeStamp(long spoolTimeStamp) |
void |
softStopWorker() |
void |
stopWorker() |
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, yieldpublic static final long DEFAULT_WAIT_TIME
public static final long FREE_TIME
public static final long RESCHEDULE_BUFFER_TIME
public static final long DEFAULT_SHUTDOWN_TIME
protected volatile boolean isUpdateNotified
protected volatile boolean isSoftUpdated
protected ChannelWorker(ChannelImpl<?> impl)
public boolean checkTimeOut(AtomicBoolean stop)
public void notifySoftUpdate()
public void notifyUpdate(long newRuntimeStamp)
public void notifyUpdate()
public void softStopWorker()
public void stopWorker()
public ChannelImpl getMessageChannel()
protected boolean setMessageChannel(ChannelImpl eventQueue)
public TaskContainer getCurrentRunningTask()
public boolean isGo()
public long getSpoolTimeStamp()
public void setSpoolTimeStamp(long spoolTimeStamp)
public IChannelWorker getWorkerWrapper()
Copyright © 2020. All rights reserved.