public class HDFSCleanup
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
protected Configuration |
appConf |
static java.lang.String |
HDFS_CLEANUP_INTERVAL |
static java.lang.String |
HDFS_CLEANUP_MAX_AGE |
protected static long |
interval |
protected static long |
maxage |
Modifier and Type | Method and Description |
---|---|
void |
exit() |
static HDFSCleanup |
getInstance(Configuration appConf) |
void |
run()
Run the cleanup loop.
|
static void |
startInstance(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 Configuration appConf
public static final java.lang.String HDFS_CLEANUP_INTERVAL
public static final java.lang.String HDFS_CLEANUP_MAX_AGE
protected static long interval
protected static long maxage
public static HDFSCleanup getInstance(Configuration appConf)
public static void startInstance(Configuration appConf) throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void exit()
Copyright © 2012 The Apache Software Foundation