Class DocCleanupResetManager
- java.lang.Object
-
- org.apache.manifoldcf.crawler.system.ResetManager
-
- org.apache.manifoldcf.crawler.system.DocCleanupResetManager
-
public class DocCleanupResetManager extends ResetManager
Class which handles reset for cleanup thread pool (of which there's typically only one member). The reset action here is to move the status of documents from "???" back to "PURGATORY".
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected DocumentCleanupQueue
ddq
-
Fields inherited from class org.apache.manifoldcf.crawler.system.ResetManager
involvedThreadCount, processID, resetRequired, waitingThreads
-
-
Constructor Summary
Constructors Constructor Description DocCleanupResetManager(DocumentCleanupQueue ddq, 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
-
ddq
protected final DocumentCleanupQueue ddq
-
-
Constructor Detail
-
DocCleanupResetManager
public DocCleanupResetManager(DocumentCleanupQueue ddq, 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
-
-