Class JobDeleteThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.system.JobDeleteThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class JobDeleteThread extends java.lang.Thread
This class represents the job delete thread. This thread's job is to find jobs that are marked for delete and which have no remaining ingested documents, and delete them. The query which locates these jobs is in fact where all the work is; this query finds only jobs where there are no remaining documents in the "completed", "purgatory", or "pendingpurgatory" states, which are in the "READYFORDELETE" state.
-
-
Constructor Summary
Constructors Constructor Description JobDeleteThread(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
-
processID
protected final java.lang.String processID
Process ID
-
-
Constructor Detail
-
JobDeleteThread
public JobDeleteThread(java.lang.String processID) throws ManifoldCFException
Constructor.- Throws:
ManifoldCFException
-
-