Package jadex.bdi.testcases.misc
Class LeakerPlan
- java.lang.Object
- 
- jadex.bdiv3x.runtime.Plan
- 
- jadex.bdi.testcases.misc.LeakerPlan
 
 
- 
 public class LeakerPlan extends Plan Test memory consumption.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.PlanPlan.PlanWaitAbstraction
 
- 
 - 
Constructor SummaryConstructors Constructor Description LeakerPlan()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()Create a new plan.voidrunTests(int testno, int runs, boolean dispatch)The body method is called on the instantiated plan instance from the scheduler.protected longsleeper(long start)protected voidtestGoalCreation(int num, boolean dispatch)Test if the goal creation consumes memory.protected voidtestInternalEventCreation(int num, boolean dispatch)Test if the internal event creation consumes memory.protected voidtestMessageCreation(int num, boolean send)Test if the message creation consumes memory.- 
Methods inherited from class jadex.bdiv3x.runtime.Planaborted, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, failed, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
 
- 
 
- 
- 
- 
Method Detail- 
runTestspublic void runTests(int testno, int runs, boolean dispatch)The body method is called on the instantiated plan instance from the scheduler.
 - 
testGoalCreationprotected void testGoalCreation(int num, boolean dispatch)Test if the goal creation consumes memory.
 - 
testInternalEventCreationprotected void testInternalEventCreation(int num, boolean dispatch)Test if the internal event creation consumes memory.
 - 
testMessageCreationprotected void testMessageCreation(int num, boolean send)Test if the message creation consumes memory.
 - 
sleeperprotected long sleeper(long start) 
 
- 
 
-