|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.frontier.QueueAssignmentPolicy
org.archive.crawler.frontier.BucketQueueAssignmentPolicy
public class BucketQueueAssignmentPolicy
Uses the target IPs as basis for queue-assignment, distributing them over a fixed number of sub-queues.
| Constructor Summary | |
|---|---|
BucketQueueAssignmentPolicy()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getClassKey(CrawlController controller,
CandidateURI curi)
Get the String key (name) of the queue to which the CrawlURI should be assigned. |
int |
maximumNumberOfKeys()
Returns the maximum number of different keys this policy can create. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BucketQueueAssignmentPolicy()
| Method Detail |
|---|
public java.lang.String getClassKey(CrawlController controller,
CandidateURI curi)
QueueAssignmentPolicy
getClassKey in class QueueAssignmentPolicycontroller - This crawls' controller.curi - CandidateURI to calculate class key for.
public int maximumNumberOfKeys()
QueueAssignmentPolicy
maximumNumberOfKeys in class QueueAssignmentPolicy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||