Class JobResetThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.manifoldcf.crawler.system.JobResetThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class JobResetThread extends java.lang.Thread
This class represents the thread that notices jobs that have completed their shutdown phase, and puts them in the "notify connector" state.
-
-
Constructor Summary
Constructors Constructor Description JobResetThread(java.lang.String processID)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
doEndNotifications(IJobDescription jobDescription, INotificationConnectionManager notificationManager, INotificationConnectorPool notificationPool)
protected static void
doStopNotifications(IJobDescription jobDescription, int notificationType, INotificationConnectionManager notificationManager, INotificationConnectorPool notificationPool)
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
-
JobResetThread
public JobResetThread(java.lang.String processID) throws ManifoldCFException
Constructor.- Throws:
ManifoldCFException
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
doStopNotifications
protected static void doStopNotifications(IJobDescription jobDescription, int notificationType, INotificationConnectionManager notificationManager, INotificationConnectorPool notificationPool) throws ManifoldCFException
- Throws:
ManifoldCFException
-
doEndNotifications
protected static void doEndNotifications(IJobDescription jobDescription, INotificationConnectionManager notificationManager, INotificationConnectorPool notificationPool) throws ManifoldCFException
- Throws:
ManifoldCFException
-
-