P - the type of the Processors produced by this
ProcessorFactorypublic interface ProcessorFactory<P extends Processor> extends InterruptMonitor
InputProcessors of a given type. This
factory is intended to be used in ConcurrentComputationWithInputs to process
the input concurrently by independent workers. In this case, an
InputProcessor will be created for each worker. Each
InputProcessor created by this InputProcessorFactory should
be used from at most one thread since it may contain some non-thread-safe
worker-local objects.| Modifier and Type | Method and Description |
|---|---|
void |
finish()
a hook function to be called when all jobs are processed
|
P |
getEngine() |
isInterruptedCopyright © 2011–2024 Live Ontologies Project. All rights reserved.