|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.crawler.jobs.HopCount.NodeQueue
protected static class HopCount.NodeQueue
A queue object allows document nodes to be ordered appropriately for the most efficient execution. The queue handles DocumentNode objects exclusively. Mapping of Question to DocumentNode object involves structures outside of all queues.
| Field Summary | |
|---|---|
protected java.util.HashMap |
nodeMap
|
| Constructor Summary | |
|---|---|
HopCount.NodeQueue()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addToQueue(HopCount.DocumentNode node)
Queue a document node. |
HopCount.DocumentNode |
nextNode()
Fetch the next object off the queue for processing. |
HopCount.DocumentNode[] |
nextNodes()
Fetch ALL of the nodes off the queue in one step. |
void |
removeFromQueue(HopCount.DocumentNode node)
Remove a node from the queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashMap nodeMap
| Constructor Detail |
|---|
public HopCount.NodeQueue()
| Method Detail |
|---|
public void addToQueue(HopCount.DocumentNode node)
public void removeFromQueue(HopCount.DocumentNode node)
public HopCount.DocumentNode nextNode()
public HopCount.DocumentNode[] nextNodes()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||