|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Result receiver which receives the result of a crawl as single RIDs as the crawl goes on.
Version for normal crawls.
Copyright (c) SAP AG 2003
| Method Summary | |
void |
finalGetFaulty(java.util.ArrayList faulty)
Final call to get the RIDs which could not be processed by the receiver. |
void |
indicateStop()
Indicate a crawler stop. When this method is called any pending calls to receive() must return immediately
because the crawler is stopping.The method may be called multiple times before the crawler finally stops. |
boolean |
receive(RID rid,
java.util.ArrayList faulty)
Receive a resource. |
| Methods inherited from interface com.sapportals.wcm.service.xcrawler.IXCrawlerResultReceiver |
approveCollectionCrawling, crawlFailed, crawlFinished, crawlStarted, crawlStopped, getResourceContext |
| Method Detail |
public boolean receive(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the resourcefaulty - list of previously provided RIDs which could not be processed by the receiver and shall be
treated as erroneous by the crawler (might include the RID passed in this call)thrown - in case of error; the exception will not affect the ongoing crawl
public void indicateStop()
throws java.lang.Exception
receive() must return immediately
because the crawler is stopping.thrown - in case of error; the exception will not affect the ongoing crawl
public void finalGetFaulty(java.util.ArrayList faulty)
throws java.lang.Exception
faulty - list of previously provided RIDs which could not be processed by the receiver and shall be
treated as erroneous by the crawler (might include the RID passed in this call)thrown - in case of error; the exception will not affect the ongoing crawl
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||