private class RSGroupInfoManagerImpl.FailedOpenUpdaterThread extends Thread implements ServerListener
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
hasChanged |
private long |
waitInterval |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FailedOpenUpdaterThread(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
void |
serverAdded(ServerName serverName)
The server has joined the cluster.
|
void |
serverChanged() |
void |
serverRemoved(ServerName serverName)
The server was removed from the cluster.
|
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
waiting
private final long waitInterval
private volatile boolean hasChanged
public FailedOpenUpdaterThread(org.apache.hadoop.conf.Configuration conf)
public void serverAdded(ServerName serverName)
ServerListener
serverAdded
in interface ServerListener
serverName
- The remote servers name.public void serverRemoved(ServerName serverName)
ServerListener
serverRemoved
in interface ServerListener
serverName
- The remote servers name.public void serverChanged()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.