public interface AgentMBean
Modifier and Type | Method and Description |
---|---|
void |
delete()
Permits this agent to destroy it.
|
String |
getAgentId()
Returns the global unique identifier of the agent.
|
long |
getCommitTime()
Returns the total commit time calculated for this agent.
|
String |
getName()
Returns this
Agent 's name. |
int |
getReactNb() |
long |
getReactTime()
Returns the total reaction time calculated for this agent.
|
boolean |
isAgentProfiling()
Returns true
|
boolean |
isFixed()
Tests if the agent is pinned in memory.
|
void |
resetCommitTime()
Reset the commit time for this agent.
|
void |
resetReactTime()
Reset the reaction time for this agent.
|
void |
resetTimer()
Reset react and commit time for this agent.
|
void |
setAgentProfiling(boolean agentProfiling)
Sets
If true, the cumulative time of reaction and commit is kept for each agent.
|
String |
toString()
Returns a string representation of this agent, including the agent's
class, name, global identication, and fixed property.
|
String getName()
Agent
's name.Agent
's name.String getAgentId()
boolean isFixed()
void delete()
String toString()
int getReactNb()
boolean isAgentProfiling()
EngineMBean.isAgentProfiling()
void setAgentProfiling(boolean agentProfiling)
agentProfiling
- if true sets the agent profiling.EngineMBean.setAgentProfiling(boolean)
long getReactTime()
void resetReactTime()
long getCommitTime()
void resetCommitTime()
void resetTimer()
Copyright © 2021 ScalAgent D.T.. All rights reserved.