|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.uima.flow.Step org.apache.uima.flow.ParallelStep
public class ParallelStep
Indicates that a CAS should be routed to a multiple AnalysisEngines and that the relative order in which these execute does not matter. Logically, they can run in parallel. The runtime is not obligated to actually execute them in parallel, however.
After all the specified Analysis Engines have completed their processing, the Flow.next()
method will be called again to determine the next destination for the CAS.
Constructor Summary | |
---|---|
ParallelStep(Collection<String> aAnalysisEngineKeys)
Creates a new ParallelStep |
Method Summary | |
---|---|
Collection<String> |
getAnalysisEngineKeys()
Gets the keys of the Analysis Engines to which the CAS should be routed. |
void |
setAnalysisEngineKeys(Collection<String> aKeys)
Sets the keys of the Analysis Engines to which the CAS should be routed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParallelStep(Collection<String> aAnalysisEngineKeys)
aAnalysisEngineKeys
- A Collection of Strings, where each String is the key of an Analysis Engine to which the CAS
should be routed. Each String must bee one of the keys in the FlowController's
FlowControllerContext.getAnalysisEngineMetaDataMap()
.Method Detail |
---|
public Collection<String> getAnalysisEngineKeys()
public void setAnalysisEngineKeys(Collection<String> aKeys)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |