com.sapportals.wcm.service.crawler

Interface ICrawlerQueue


Deprecated. as of NW04. The crawler service was replaced by the xcrawler service com.sapportals.wcm.service.xcrawler

public interface ICrawlerQueue

A crawler queue for threaded crawlers.

Copyright 2004 SAP AG


Field Summary
static int INFINITE_SIZE
          Deprecated. Constant for an infinite queue size.
 
Method Summary
 String getID()
          Deprecated. Get the unique ID for this queue.
 int getSize()
          Deprecated. Get the maximum queue siye for this queue.
 void runCrawlers(boolean doClearVisitedList)
          Deprecated. Start the currently queued crawlers.
 

Field Detail

INFINITE_SIZE

public static final int INFINITE_SIZE
Deprecated. 
Constant for an infinite queue size.

See Also:
Constant Field Values
Method Detail

getID

public String getID()
Deprecated. 
Get the unique ID for this queue.


getSize

public int getSize()
Deprecated. 
Get the maximum queue siye for this queue.


runCrawlers

public void runCrawlers(boolean doClearVisitedList)
                 throws WcmException
Deprecated. 
Start the currently queued crawlers. Any crawlers markes with setToBackground() are placed in the queue but not started when their crawl() or recrawl() method is called. Those crawlers will only be started when this method is called.

Parameters:
doClearVisitedList - a boolean true if the visited list should be cleared before crawling or false if not.
Throws:
WcmException


Copyright 2006 SAP AG Complete Copyright Notice