Class MappingService
- java.lang.Object
-
- jadex.platform.service.parallelizer.MappingService
-
- All Implemented Interfaces:
IParallelService
public class MappingService extends java.lang.Object implements IParallelService
Implementation of the service that uses divide and conquer to distribute tasks to a subordinated service.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
protected ISequentialService
seqser
The service pool.
-
Constructor Summary
Constructors Constructor Description MappingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IIntermediateFuture<java.lang.String>
doParallel(java.lang.String[] data)
Method that wants to process data in parallel.IFuture<java.lang.Void>
init()
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
-
seqser
protected ISequentialService seqser
The service pool.
-
-
Method Detail
-
init
public IFuture<java.lang.Void> init()
-
doParallel
public IIntermediateFuture<java.lang.String> doParallel(java.lang.String[] data)
Description copied from interface:IParallelService
Method that wants to process data in parallel.- Specified by:
doParallel
in interfaceIParallelService
-
-