org.apache.manifoldcf.crawler.system
Class ExpireThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.apache.manifoldcf.crawler.system.ExpireThread
All Implemented Interfaces:
java.lang.Runnable

public class ExpireThread
extends java.lang.Thread

This class represents an expire thread. These threads expire documents, by deleting them from the system.


Nested Class Summary
protected static class ExpireThread.OutputRemoveActivity
          The ingest logger class
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static java.lang.String _rcsid
           
protected  DocumentCleanupQueue documentQueue
           
protected  java.lang.String id
           
protected  QueueTracker queueTracker
          Queue tracker
protected  WorkerResetManager resetManager
          Worker thread pool reset manager
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExpireThread(java.lang.String id, DocumentCleanupQueue documentQueue, QueueTracker queueTracker, WorkerResetManager resetManager)
          Constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_rcsid

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

id

protected java.lang.String id

documentQueue

protected DocumentCleanupQueue documentQueue

resetManager

protected WorkerResetManager resetManager
Worker thread pool reset manager


queueTracker

protected QueueTracker queueTracker
Queue tracker

Constructor Detail

ExpireThread

public ExpireThread(java.lang.String id,
                    DocumentCleanupQueue documentQueue,
                    QueueTracker queueTracker,
                    WorkerResetManager resetManager)
             throws ManifoldCFException
Constructor.

Parameters:
id - is the expire thread id.
Throws:
ManifoldCFException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread