private static class ShutdownHook.ShutdownHookThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private Runnable |
fsShutdownHook |
private Stoppable |
stop |
private Thread |
threadToJoin |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ShutdownHookThread(org.apache.hadoop.conf.Configuration conf,
Stoppable stop,
Thread threadToJoin,
Runnable fsShutdownHook) |
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
private final Thread threadToJoin
private final Runnable fsShutdownHook
private final org.apache.hadoop.conf.Configuration conf
ShutdownHookThread(org.apache.hadoop.conf.Configuration conf, Stoppable stop, Thread threadToJoin, Runnable fsShutdownHook)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.