Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
TIMEOUT_OPT |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AdaptorResetThread(org.apache.hadoop.conf.Configuration conf,
ChukwaAgent a) |
Modifier and Type | Method and Description |
---|---|
int |
getResetCount() |
void |
reportCommits(Set<Adaptor> commits) |
void |
reportPending(List<ChukwaHttpSender.CommitListEntry> delayedCommits) |
void |
reportStop(Adaptor a) |
int |
resetTimedOutAdaptors(int timeSinceLastCommit)
Resets all adaptors with outstanding data more than timeSinceLastCommit old.
|
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 static final String TIMEOUT_OPT
public AdaptorResetThread(org.apache.hadoop.conf.Configuration conf, ChukwaAgent a)
public int resetTimedOutAdaptors(int timeSinceLastCommit)
timeSinceLastCommit
- public void reportPending(List<ChukwaHttpSender.CommitListEntry> delayedCommits)
public void reportStop(Adaptor a)
public int getResetCount()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.