Package org.apache.nutch.hostdb
Interface CrawlDatumProcessor
- All Known Implementing Classes:
FetchOverdueCrawlDatumProcessor
public interface CrawlDatumProcessor
These are instantiated once for each host.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcount(CrawlDatum crawlDatum) Process a single crawl datum instance to aggregate custom counts.voidProcess the final host datum instance and store the aggregated custom counts in the HostDatum.
-
Method Details
-
count
Process a single crawl datum instance to aggregate custom counts.- Parameters:
crawlDatum- CrawlDatum instance to count information from
-
finalize
Process the final host datum instance and store the aggregated custom counts in the HostDatum.- Parameters:
hostDatum- HostDatum instance to hold the aggregated custom counts
-