Package jadex.micro.examples.mandelbrot
Class ProgressService
- java.lang.Object
-
- jadex.micro.examples.mandelbrot.ProgressService
-
- All Implemented Interfaces:
IProgressService
public class ProgressService extends java.lang.Object implements IProgressService
Progress service implementation.
-
-
Field Summary
Fields Modifier and Type Field Description protected CalculateAgent
agent
The agent.
-
Constructor Summary
Constructors Constructor Description ProgressService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture
getProgress(java.lang.Object taskid)
Get the progress (percentage as integer) of a given task.
-
-
-
Field Detail
-
agent
protected CalculateAgent agent
The agent.
-
-
Method Detail
-
getProgress
public IFuture getProgress(java.lang.Object taskid)
Get the progress (percentage as integer) of a given task.- Specified by:
getProgress
in interfaceIProgressService
- Parameters:
taskid
- The id of the task.- Returns:
- A future object holding the progress as a percentage integer value.
-
-