Package | Description |
---|---|
org.apache.manifoldcf.crawler.jobs |
Modifier and Type | Field and Description |
---|---|
protected HopCount.DocumentNode |
HopCount.NodeReference.theNode
The node being referred to
|
Modifier and Type | Method and Description |
---|---|
HopCount.DocumentNode |
HopCount.NodeReference.getNode()
Get the node
|
HopCount.DocumentNode |
HopCount.NodeQueue.nextNode()
Fetch the next object off the queue for processing.
|
HopCount.DocumentNode[] |
HopCount.NodeQueue.nextNodes()
Fetch ALL of the nodes off the queue in one step.
|
protected HopCount.DocumentNode[] |
HopCount.DocumentHash.queueQuestions(HopCount.Question[] questions)
Queue up a set of questions.
|
protected HopCount.DocumentNode[] |
HopCount.readCachedNodes(java.lang.Long jobID,
HopCount.Question[] unansweredQuestions)
Find the cached distance from a set of identifiers to the root.
|
Modifier and Type | Method and Description |
---|---|
void |
HopCount.DocumentNode.addParent(HopCount.DocumentNode parent)
Add a parent who should be notified if this node's answer changes.
|
void |
HopCount.NodeQueue.addToQueue(HopCount.DocumentNode node)
Queue a document node.
|
protected void |
HopCount.DocumentHash.evaluateNode(HopCount.DocumentNode node)
Evaluate a node from the evaluation queue.
|
protected void |
HopCount.DocumentHash.getNodeChildren(HopCount.DocumentNode[] nodes)
Fetch a the children of a bunch of nodes, and initialize all of the nodes appropriately.
|
protected void |
HopCount.DocumentHash.makeNodeComplete(HopCount.DocumentNode node)
Make a node be complete.
|
protected void |
HopCount.DocumentHash.notifyParents(HopCount.DocumentNode node)
Notify parents of a node's change of state.
|
protected void |
HopCount.performGetCachedDistances(HopCount.DocumentNode[] rval,
java.util.Map<HopCount.Question,java.lang.Integer> indexMap,
java.util.Map<java.lang.Long,HopCount.DocumentNode> depsMap,
java.lang.Long jobID,
java.util.ArrayList ltList,
java.util.ArrayList list)
Do a limited fetch of cached distances
|
protected void |
HopCount.DocumentHash.queueParents(HopCount.DocumentNode node)
Queue the parents on the evaluation queue.
|
protected void |
HopCount.DocumentHash.removeChildLinks(HopCount.DocumentNode dn)
Remove remaining links to children.
|
void |
HopCount.NodeQueue.removeFromQueue(HopCount.DocumentNode node)
Remove a node from the queue.
|
void |
HopCount.DocumentNode.removeParent(HopCount.DocumentNode parent)
Remove a parent.
|
protected void |
HopCount.writeCachedDistance(java.lang.Long jobID,
java.lang.String[] legalLinkTypes,
HopCount.DocumentNode dn,
int hopcountMethod)
Write a distance into the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HopCount.performGetCachedDistanceDeps(java.util.Map<java.lang.Long,HopCount.DocumentNode> depsMap,
java.util.ArrayList list)
Do a limited fetch of cached distance dependencies
|
protected void |
HopCount.performGetCachedDistances(HopCount.DocumentNode[] rval,
java.util.Map<HopCount.Question,java.lang.Integer> indexMap,
java.util.Map<java.lang.Long,HopCount.DocumentNode> depsMap,
java.lang.Long jobID,
java.util.ArrayList ltList,
java.util.ArrayList list)
Do a limited fetch of cached distances
|
Constructor and Description |
---|
NodeReference(HopCount.DocumentNode theNode,
java.lang.String linkType)
Constructor
|