Package jadex.bdi.benchmarks
Class Counter
- java.lang.Object
-
- jadex.bdi.benchmarks.Counter
-
public class Counter extends java.lang.Object
A thread safe counter to determine when all agents are running.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
cnt
The counter.
-
Constructor Summary
Constructors Constructor Description Counter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
increment()
Increment and return the counter value.
-