Class Par2Agent
- java.lang.Object
-
- jadex.platform.service.parallelizer.Par2Agent
-
- All Implemented Interfaces:
IParallelService
public class Par2Agent extends java.lang.Object implements IParallelService
-
-
Field Summary
Fields Modifier and Type Field Description protected IServicePoolService
poolser
The pool service (injected by jadex runtime).protected ISequentialService
seqser
The sequential service (set in init).
-
Constructor Summary
Constructors Constructor Description Par2Agent()
-
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(IInternalAccess agent)
-
-
-
Field Detail
-
poolser
protected IServicePoolService poolser
The pool service (injected by jadex runtime).
-
seqser
protected ISequentialService seqser
The sequential service (set in init).
-
-
Method Detail
-
init
public IFuture<java.lang.Void> init(IInternalAccess agent)
-
doParallel
public IIntermediateFuture<java.lang.String> doParallel(java.lang.String[] data)
Method that wants to process data in parallel.- Specified by:
doParallel
in interfaceIParallelService
-
-