Class HistoryCleanupThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.system.HistoryCleanupThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class HistoryCleanupThread extends java.lang.Thread
This class describes the thread that cleans up history records. It fires infrequently and removes history records older than a configuration-determined cutoff.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected static java.lang.String
historyCleanupIntervalProperty
protected java.lang.String
processID
Process ID
-
Constructor Summary
Constructors Constructor Description HistoryCleanupThread(java.lang.String processID)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
historyCleanupIntervalProperty
protected static final java.lang.String historyCleanupIntervalProperty
- See Also:
- Constant Field Values
-
processID
protected final java.lang.String processID
Process ID
-
-
Constructor Detail
-
HistoryCleanupThread
public HistoryCleanupThread(java.lang.String processID) throws ManifoldCFException
Constructor.- Throws:
ManifoldCFException
-
-