| org.archive.crawler.processor.CrawlMapper org.archive.crawler.processor.HashCrawlMapper
HashCrawlMapper | public class HashCrawlMapper extends CrawlMapper (Code) | | Maps URIs to one of N crawler names by applying a hash to the
URI's (possibly-transformed) classKey.
author: gojomo version: $Date: 2006-09-25 20:19:54 +0000 (Mon, 25 Sep 2006) $, $Revision: 4654 $ |
ATTR_CRAWLER_COUNT | final public static String ATTR_CRAWLER_COUNT(Code) | | count of crawlers
|
ATTR_REDUCE_PATTERN | final public static String ATTR_REDUCE_PATTERN(Code) | | regex pattern for reducing classKey
|
DEFAULT_CRAWLER_COUNT | final public static Long DEFAULT_CRAWLER_COUNT(Code) | | |
DEFAULT_REDUCE_PATTERN | final public static String DEFAULT_REDUCE_PATTERN(Code) | | |
bucketCount | long bucketCount(Code) | | |
HashCrawlMapper | public HashCrawlMapper(String name)(Code) | | Constructor.
Parameters: name - Name of this processor. |
initialTasks | protected void initialTasks()(Code) | | |
kickUpdate | public void kickUpdate()(Code) | | |
map | protected String map(CandidateURI cauri)(Code) | | Look up the crawler node name to which the given CandidateURI
should be mapped.
Parameters: cauri - CandidateURI to consider String node name which should handle URI |
|
|