eu.larkc.jactr.core.pluginManager.local
Class LocalSingleResultIdentifyManager
java.lang.Object
eu.larkc.core.pluginManager.local.LocalPluginManager<Query,Collection<InformationSet>>
eu.larkc.jactr.core.pluginManager.local.LocalSingleResultIdentifyManager
- All Implemented Interfaces:
- PluginManager
public class LocalSingleResultIdentifyManager
- extends LocalPluginManager<Query,Collection<InformationSet>>
LocalSingleResultIdentifyManager is a LocalPluginManager for
Identifier plugins that returns a single result.
It will generate a Collection on the output
queue for each Query that comes in on the input stream
- Author:
- Martijn Brakenhoff (based on code by: Mick Kerrigan
and Barry Bishop)
LocalSingleResultIdentifyManager
public LocalSingleResultIdentifyManager(Identifier identifier,
Queue<Query> inputQueue,
Queue<Collection<InformationSet>> outputQueue)
- Constructor thats takes the plugin to be manages, the input, and the output queues as input
- Parameters:
identifier
- The Identifier plugin to be managedinputQueue
- The queue from which input messages will come from the previous plugin in the pipelineoutputQueue
- The queue onto which output messages should be put to send them to the next plugin in the pipeline