org.apache.manifoldcf.crawler.system
Class DocDeleteResetManager

java.lang.Object
  extended by org.apache.manifoldcf.crawler.system.ResetManager
      extended by 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
static java.lang.String _rcsid
           
protected  DocumentDeleteQueue ddq
           
 
Fields inherited from class org.apache.manifoldcf.crawler.system.ResetManager
involvedThreadCount, resetRequired, waitingThreads
 
Constructor Summary
DocDeleteResetManager(DocumentDeleteQueue ddq)
          Constructor.
 
Method Summary
protected  void performResetLogic(IThreadContext tc)
          Reset
 
Methods inherited from class org.apache.manifoldcf.crawler.system.ResetManager
noteEvent, registerMe, waitForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rcsid

public static final java.lang.String _rcsid
See Also:
Constant Field Values

ddq

protected DocumentDeleteQueue ddq
Constructor Detail

DocDeleteResetManager

public DocDeleteResetManager(DocumentDeleteQueue ddq)
Constructor.

Method Detail

performResetLogic

protected void performResetLogic(IThreadContext tc)
                          throws ManifoldCFException
Reset

Specified by:
performResetLogic in class ResetManager
Throws:
ManifoldCFException