Class WorkerResetManager
- java.lang.Object
-
- org.apache.manifoldcf.crawler.system.ResetManager
-
- org.apache.manifoldcf.crawler.system.WorkerResetManager
-
public class WorkerResetManager extends ResetManager
Class which handles reset for worker thread pool. The reset action here is to mark all active documents as being ready for queuing.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected DocumentQueue
dq
The document queueprotected DocumentCleanupQueue
eq
The expiration queue-
Fields inherited from class org.apache.manifoldcf.crawler.system.ResetManager
involvedThreadCount, processID, resetRequired, waitingThreads
-
-
Constructor Summary
Constructors Constructor Description WorkerResetManager(DocumentQueue dq, DocumentCleanupQueue eq, java.lang.String processID)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performResetLogic(IThreadContext tc, java.lang.String processID)
Resetprotected void
performWakeupLogic()
Do the wakeup logic.-
Methods inherited from class org.apache.manifoldcf.crawler.system.ResetManager
noteEvent, registerMe, waitForReset
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
dq
protected final DocumentQueue dq
The document queue
-
eq
protected final DocumentCleanupQueue eq
The expiration queue
-
-
Constructor Detail
-
WorkerResetManager
public WorkerResetManager(DocumentQueue dq, DocumentCleanupQueue eq, java.lang.String processID)
Constructor.
-
-
Method Detail
-
performResetLogic
protected void performResetLogic(IThreadContext tc, java.lang.String processID) throws ManifoldCFException
Reset- Specified by:
performResetLogic
in classResetManager
- Throws:
ManifoldCFException
-
performWakeupLogic
protected void performWakeupLogic()
Do the wakeup logic.- Specified by:
performWakeupLogic
in classResetManager
-
-