public static class ContainerExecutor.DelayedProcessKiller extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DelayedProcessKiller(Container container,
String user,
String pid,
long delayMS,
ContainerExecutor.Signal signal,
ContainerExecutor containerExecutor)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
run() |
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 DelayedProcessKiller(Container container, String user, String pid, long delayMS, ContainerExecutor.Signal signal, ContainerExecutor containerExecutor)
container
- the container to signaluser
- the user as whow to send the signalpid
- the PID of the container processdelayMS
- the period of time to wait in millis before signaling
the containersignal
- the signal to sendcontainerExecutor
- the executor to use to send the signalCopyright © 2008–2023 Apache Software Foundation. All rights reserved.