Class ProcessingService

java.lang.Object
org.ojalgo.concurrent.ProcessingService

public final class ProcessingService extends Object
A simple wrapper around an ExecutorService that makes it easier to process collections of items in parallel. The work items are processed by a Consumer, Function or TwoStepMapper. In particular the TwoStepMapper can be used to aggregate/reduce data from the work items and then combine the collected data into a final result.