Class StartupThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.system.StartupThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class StartupThread extends java.lang.Thread
This class represents the startup thread. This thread's job is to detect when a job is starting, and stuff its queue appropriately. Finally, the job is marked as "started".
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected java.lang.String
processID
Process IDprotected StartupResetManager
resetManager
Reset manager
-
Constructor Summary
Constructors Constructor Description StartupThread(StartupResetManager 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
-
processID
protected final java.lang.String processID
Process ID
-
resetManager
protected final StartupResetManager resetManager
Reset manager
-
-
Constructor Detail
-
StartupThread
public StartupThread(StartupResetManager resetManager, java.lang.String processID) throws ManifoldCFException
Constructor.- Throws:
ManifoldCFException
-
-