private final class RemoteProcedureDispatcher.TimeoutExecutorThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private DelayQueue<DelayedUtil.DelayedWithTimeout> |
queue |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
TimeoutExecutorThread() |
Modifier and Type | Method and Description |
---|---|
void |
add(DelayedUtil.DelayedWithTimeout delayed) |
void |
awaitTermination() |
void |
remove(DelayedUtil.DelayedWithTimeout delayed) |
void |
run() |
void |
sendStopSignal() |
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 final DelayQueue<DelayedUtil.DelayedWithTimeout> queue
public TimeoutExecutorThread()
public void add(DelayedUtil.DelayedWithTimeout delayed)
public void remove(DelayedUtil.DelayedWithTimeout delayed)
public void sendStopSignal()
public void awaitTermination()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.