SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.impl
Class CrawlThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.eclipse.smila.connectivity.framework.impl.CrawlThread
All Implemented Interfaces:
java.lang.Runnable

public class CrawlThread
extends java.lang.Thread

The Class CrawlThread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CrawlThread(CrawlerControllerCallback controllerCallback, CrawlState crawlState, ConnectivityManager connectivityManager, DeltaIndexingManager diManager, CompoundManager compoundManager, Crawler crawler, DataSourceConnectionConfig configuration)
          Constructor.
 
Method Summary
 void run()
          
 void stopCrawl()
          Stop the execution of this CrawlThread.
 
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
 

Constructor Detail

CrawlThread

public CrawlThread(CrawlerControllerCallback controllerCallback,
                   CrawlState crawlState,
                   ConnectivityManager connectivityManager,
                   DeltaIndexingManager diManager,
                   CompoundManager compoundManager,
                   Crawler crawler,
                   DataSourceConnectionConfig configuration)
            throws DeltaIndexingException
Constructor.

Parameters:
controllerCallback - the callback to the CrawlerController
crawlState - the CrawlState
connectivityManager - the ConnectivityManager
diManager - the DeltaIndexingManager
compoundManager - the CompoundManager
crawler - the Crawler
configuration - the DataSourceConnectionConfig
Throws:
DeltaIndexingException - if DeltaIndexing is enabled and no DeltaIndexing session can be initialized
Method Detail

run

public void run()

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Thread.run()

stopCrawl

public void stopCrawl()
Stop the execution of this CrawlThread.


SMILA (incubation) API documentation