public abstract class QueueAssignmentPolicy extends Object implements Serializable, HasKeyedProperties
Modifier and Type | Field and Description |
---|---|
protected KeyedProperties |
kp |
Constructor and Description |
---|
QueueAssignmentPolicy() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getClassKey(CrawlURI cauri)
Get the String key (name) of the queue to which the
CrawlURI should be assigned.
|
String |
getForceQueueAssignment() |
KeyedProperties |
getKeyedProperties() |
int |
maximumNumberOfKeys()
Returns the maximum number of different keys this policy
can create.
|
void |
setForceQueueAssignment(String forceQueueAssignment) |
protected KeyedProperties kp
public KeyedProperties getKeyedProperties()
getKeyedProperties
in interface HasKeyedProperties
public String getForceQueueAssignment()
public void setForceQueueAssignment(String forceQueueAssignment)
public abstract String getClassKey(CrawlURI cauri)
controller
- This crawls' controller.cauri
- CandidateURI to calculate class key for.public int maximumNumberOfKeys()
Copyright © 2003-2014 Internet Archive. All Rights Reserved.