Interface ParallelPoolProcessing.ProcessingTask
-
- Enclosing class:
- ParallelPoolProcessing
public static interface ParallelPoolProcessing.ProcessingTaskInterface that holds the main method for every call to process an element from the case base.- Author:
- Maximilian Hoffmann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(DataObject[] elements, int iteration)This method is concurrently called by the workers for each case in the case base.
-
-
-
Method Detail
-
process
void process(DataObject[] elements, int iteration)
This method is concurrently called by the workers for each case in the case base. Please make sure that every interaction of this method with other objects is synchronized. See an example implementation inParallelLinearRetrieverImpl.- Parameters:
elements- a batch of cases from the case base to processiteration- the iteration number of the current call, starting from 0
-
-