|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.archive.crawler.frontier.QueueAssignmentPolicy
public abstract class QueueAssignmentPolicy
Establishes a mapping from CrawlURIs to String keys (queue names).
| Constructor Summary | |
|---|---|
QueueAssignmentPolicy()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getClassKey(CrawlController controller,
CandidateURI cauri)
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 QueueAssignmentPolicy()
| Method Detail |
|---|
public abstract java.lang.String getClassKey(CrawlController controller,
CandidateURI cauri)
controller - This crawls' controller.cauri - CandidateURI to calculate class key for.
public int maximumNumberOfKeys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||