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