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 SummaryFields Modifier and Type Field Description protected java.util.List<java.lang.Object>objectsThe list of memory-hogging objects.
 - 
Constructor SummaryConstructors Constructor Description OutOfMemAgent()
 - 
Method SummaryAll 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- 
executepublic IFuture<java.lang.Void> execute(IInternalAccess ia) Main behavior just accumulates 1MB-sized objects.- Specified by:
- executein interface- IComponentStep<java.lang.Void>
- Returns:
- The result of the command.
 
 
- 
 
-