@InterfaceAudience.Private class MasterInitializationMonitor extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description | 
|---|---|
static boolean | 
HALT_DEFAULT  | 
static String | 
HALT_KEY
When timeout expired and initialization has not complete, call  
System.exit(int) when
 true, do nothing otherwise. | 
private boolean | 
haltOnTimeout  | 
private static org.slf4j.Logger | 
LOG  | 
private HMaster | 
master  | 
private long | 
timeout  | 
static long | 
TIMEOUT_DEFAULT  | 
static String | 
TIMEOUT_KEY
The amount of time in milliseconds to sleep before checking initialization status. 
 | 
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
MasterInitializationMonitor(HMaster master)
Creates a Thread that monitors the  
#isInitialized() state. | 
| 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, yieldprivate static final org.slf4j.Logger LOG
public static final String TIMEOUT_KEY
public static final long TIMEOUT_DEFAULT
public static final String HALT_KEY
System.exit(int) when
 true, do nothing otherwise.public static final boolean HALT_DEFAULT
private final long timeout
private final boolean haltOnTimeout
MasterInitializationMonitor(HMaster master)
#isInitialized() state.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.