Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
appConf |
static String |
HDFS_CLEANUP_INTERVAL |
static String |
HDFS_CLEANUP_MAX_AGE |
protected static long |
interval |
protected static long |
maxage |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
void |
exit() |
static HDFSCleanup |
getInstance(org.apache.hadoop.conf.Configuration appConf) |
void |
run()
Run the cleanup loop.
|
static void |
startInstance(org.apache.hadoop.conf.Configuration appConf) |
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
protected org.apache.hadoop.conf.Configuration appConf
public static final String HDFS_CLEANUP_INTERVAL
public static final String HDFS_CLEANUP_MAX_AGE
protected static long interval
protected static long maxage
public static HDFSCleanup getInstance(org.apache.hadoop.conf.Configuration appConf)
public static void startInstance(org.apache.hadoop.conf.Configuration appConf) throws IOException
IOException
public void run()
public void exit()
Copyright © 2017 The Apache Software Foundation. All rights reserved.