|
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 incremental updates.
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 |
receiveChanged(RID rid,
java.util.ArrayList faulty)
Receive a changed resource. |
boolean |
receiveDeleted(RID rid,
java.util.ArrayList faulty)
Receive a deleted resource. |
boolean |
receiveNew(RID rid,
java.util.ArrayList faulty)
Receive a new resource. |
boolean |
receiveUnvisited(RID rid,
java.util.ArrayList faulty)
Receive an unvisited unchanged resource. |
boolean |
receiveUnvisitedChanged(RID rid,
java.util.ArrayList faulty)
Receive an unvisited changed resource. |
boolean |
receiveUnvisitedDeleted(RID rid,
java.util.ArrayList faulty)
Receive an unvisited deleted resource. |
| Methods inherited from interface com.sapportals.wcm.service.xcrawler.IXCrawlerResultReceiver |
approveCollectionCrawling, crawlFailed, crawlFinished, crawlStarted, crawlStopped, getResourceContext |
| Method Detail |
public boolean receiveNew(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the new 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 boolean receiveChanged(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the changed 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 boolean receiveDeleted(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the deleted 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 boolean receiveUnvisited(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the unvisited unchanged 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 boolean receiveUnvisitedChanged(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the unvisited changed 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 boolean receiveUnvisitedDeleted(RID rid,
java.util.ArrayList faulty)
throws java.lang.Exception
rid - of the unvisited deleted 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 | |||||||||