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.ThreadThis 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 classExpireThread.OutputRemoveActivityThe ingest logger class
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidprotected DocumentCleanupQueuedocumentQueueThis is a reference to the static main document queueprotected java.lang.StringidThread idprotected java.lang.StringprocessIDProcess IDprotected WorkerResetManagerresetManagerWorker 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 voidrun()-
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 ManifoldCFExceptionConstructor.- Parameters:
id- is the expire thread id.- Throws:
ManifoldCFException
-
-