public class QueueResultsProcessing extends Object implements ProcessingStrategy, Serializable
Constructor and Description |
---|
QueueResultsProcessing(Queue<Map<String,String>> queue)
A simple wrapper for storing Frontier search results into a queue.
|
Modifier and Type | Method and Description |
---|---|
void |
processOutput(Map<String,String> resultsMap)
Stores the output from a Frontier into the queue, pausing and waiting if the given queue is too large
|
public void processOutput(Map<String,String> resultsMap)
processOutput
in interface ProcessingStrategy
resultsMap
- map of String and String representing the output of a Frontier's DFSCopyright © 2016. All rights reserved.