Class ExpireThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.system.ExpireThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class ExpireThread extends java.lang.Thread
This class represents an expire thread. These threads expire documents, by deleting them from the system.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ExpireThread.OutputRemoveActivity
The ingest logger class
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected DocumentCleanupQueue
documentQueue
This is a reference to the static main document queueprotected java.lang.String
id
Thread idprotected java.lang.String
processID
Process IDprotected WorkerResetManager
resetManager
Worker thread pool reset manager
-
Constructor Summary
Constructors Constructor Description ExpireThread(java.lang.String id, DocumentCleanupQueue documentQueue, WorkerResetManager resetManager, 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
-
id
protected final java.lang.String id
Thread id
-
documentQueue
protected final DocumentCleanupQueue documentQueue
This is a reference to the static main document queue
-
resetManager
protected final WorkerResetManager resetManager
Worker thread pool reset manager
-
processID
protected final java.lang.String processID
Process ID
-
-
Constructor Detail
-
ExpireThread
public ExpireThread(java.lang.String id, DocumentCleanupQueue documentQueue, WorkerResetManager resetManager, java.lang.String processID) throws ManifoldCFException
Constructor.- Parameters:
id
- is the expire thread id.- Throws:
ManifoldCFException
-
-