|
|||||||||
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)
|
float |
getAverageLoad1()
Returns the load averages for the last minute. |
float |
getAverageLoad15()
Returns the load averages for the past 15 minutes. |
float |
getAverageLoad5()
Returns the load averages for the past 5 minutes. |
long |
getCommitTime()
|
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. |
long |
getReactTime()
|
boolean |
isAgentProfiling()
|
boolean |
isRunning()
Tests if the engine is alive. |
void |
setAgentProfiling(boolean agentProfiling)
|
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
boolean isAgentProfiling()
void setAgentProfiling(boolean agentProfiling)
long getReactTime()
long getCommitTime()
float getAverageLoad1()
float getAverageLoad5()
float getAverageLoad15()
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 |