|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EngineMBean
Method Summary | |
---|---|
java.lang.String |
dumpAgent(java.lang.String id)
|
java.lang.String |
getName()
Returns this Engine 's name. |
int |
getNbAgents()
Returns the number of agents actually loaded in memory. |
int |
getNbFixedAgents()
Returns the number of fixed agents. |
int |
getNbMaxAgents()
Returns the maximum number of agents loaded in memory. |
int |
getNbMessages()
Gets the number of messages posted to this engine since creation. |
long |
getNbReactions()
Returns the number of agent's reaction since last boot. |
int |
getNbWaitingMessages()
Gets the number of waiting messages in this engine. |
boolean |
isRunning()
Tests if the engine is alive. |
void |
setNbMaxAgents(int NbMaxAgents)
Sets the maximum number of agents that can be loaded simultaneously in memory. |
void |
start()
Causes this engine to begin execution |
void |
stop()
Forces the engine to stop executing |
java.lang.String |
toString()
Returns a string representation of this engine. |
Method Detail |
---|
java.lang.String getName()
Engine
's name.
Engine
's name.int getNbMaxAgents()
int getNbAgents()
boolean isRunning()
MessageConsumer
is alive; false
otherwise.long getNbReactions()
int getNbMessages()
int getNbWaitingMessages()
int getNbFixedAgents()
void setNbMaxAgents(int NbMaxAgents)
NbMaxAgents
- the maximum number of agentsjava.lang.String dumpAgent(java.lang.String id) throws java.lang.Exception
java.lang.Exception
java.lang.String toString()
toString
in class java.lang.Object
void start() throws java.lang.Exception
java.lang.Exception
void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |