Package jadex.platform.service.watchdog
Class OutOfMemAgent
- java.lang.Object
-
- jadex.platform.service.watchdog.OutOfMemAgent
-
- All Implemented Interfaces:
IComponentStep<java.lang.Void>
public class OutOfMemAgent extends java.lang.Object implements IComponentStep<java.lang.Void>
An agent used to provoke out-of-memory-errors fur testing platform robustness.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>
objects
The list of memory-hogging objects.
-
Constructor Summary
Constructors Constructor Description OutOfMemAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
execute(IInternalAccess ia)
Main behavior just accumulates 1MB-sized objects.
-
-
-
Method Detail
-
execute
public IFuture<java.lang.Void> execute(IInternalAccess ia)
Main behavior just accumulates 1MB-sized objects.- Specified by:
execute
in interfaceIComponentStep<java.lang.Void>
- Returns:
- The result of the command.
-
-