|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CrawlURIDispositionListener
An interface for objects that want to be notified of a CrawlURI disposition (happens each time a curi has been through the processors). Classes implementing this interface can register with the CrawlController to receive these events.
This interface is to facilitate the gathering of statistics on a running crawl.
WARNING: One of these methods will be called for each CrawlURI that is processed. It is therefor imperative that the methods execute quickly!
Also note that the object implementing this interface must under no circumstances maintain a reference to the CrawlURI beyond the scope of the relevant method body!
CrawlController
Method Summary | |
---|---|
void |
crawledURIDisregard(CrawlURI curi)
Notification of a crawled URI that is to be disregarded. |
void |
crawledURIFailure(CrawlURI curi)
Notification of a failed crawling of a URI. |
void |
crawledURINeedRetry(CrawlURI curi)
Notification of a failed crawl of a URI that will be retried (failure due to possible transient problems). |
void |
crawledURISuccessful(CrawlURI curi)
Notification of a successfully crawled URI |
Method Detail |
---|
void crawledURISuccessful(CrawlURI curi)
curi
- The relevant CrawlURIvoid crawledURINeedRetry(CrawlURI curi)
curi
- The relevant CrawlURIvoid crawledURIDisregard(CrawlURI curi)
curi
- The relevant CrawlURIvoid crawledURIFailure(CrawlURI curi)
curi
- The relevant CrawlURI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |