Inherited by com.scalagent.scheduler.monitor.MonitorAgent, com.scalagent.scheduler.util.Client, fr.dyade.aaa.agent.AgentAdmin, fr.dyade.aaa.agent.AgentFactory, fr.dyade.aaa.agent.ProxyAgent, fr.dyade.aaa.jndi2.server.Container, org.objectweb.joram.mom.dest.Destination, and org.objectweb.joram.mom.proxies.UserAgent.
Inheritance diagram for fr.dyade.aaa.agent.Agent:


Public Member Functions | |
| String | getName () |
| void | setName (String name) |
| Agent () | |
| Agent (boolean fixed) | |
| Agent (String name) | |
| Agent (String name, boolean fixed) | |
| Agent (short to) | |
| Agent (short to, String name) | |
| Agent (short to, boolean fixed) | |
| Agent (short to, String name, boolean fixed) | |
| Agent (String name, boolean fixed, int stamp) | |
| boolean | isDeployed () |
| final void | deploy () throws IOException |
| final void | deploy (AgentId reply) throws IOException |
| String | toString () |
| final String | getAgentId () |
| final AgentId | getId () |
| final boolean | isFixed () |
| void | delete () |
| void | delete (AgentId agent) |
| void | react (AgentId from, Notification not) throws Exception |
| void | agentFinalize (boolean lastTime) |
Public Attributes | |
| transient String | name |
Static Public Attributes | |
| static final String | nullName = "" |
Protected Member Functions | |
| void | setNoSave () |
| void | setSave () |
| final boolean | needToBeCommited () |
| final void | save () throws IOException |
| String | getLogTopic () |
| void | agentInitialize (boolean firstTime) throws Exception |
| final void | sendTo (AgentId to, Notification not) |
| final void | sendTo (Role role, Notification not) |
| final void | sendTo (RoleMultiple role, Notification not) |
Protected Attributes | |
| transient boolean | fixed |
| transient Logger | logmon = null |
Package Functions | |
| Agent (String name, boolean fixed, AgentId id) | |
Static Package Functions | |
| static final Agent | load (AgentId id) throws IOException, ClassNotFoundException |
Package Attributes | |
| transient AgentId | id |
| transient long | last |
| transient boolean | deployed = false |
Static Package Attributes | |
| static final long | serialVersionUID = 1L |
Agent class represents the basic component in our model. agents are "reactive" objects which behave according to "event -> reaction"model: an event embodies a significant state change which one or many agents may react to.
Class Agent defines the generic interface and the common behavior for all agents; every agent is an object of a class deriving from class Agent. Agents are the elementary programming and execution entities; they only communicate using notifications through the message bus, and are controlled by the execution engine.
The reactive behavior is implemented by function member React, which defines the reaction of the agent when receiving a notification; this function member is called by the execution engine.
Agents are persistent objects, and the Agent class realizes a "swap-in/swap-out" mechanism which allows loading (or finding) in main memory the agents to activate, and unloading the agents idle since a while.
The following code would then create a simple agent and deploy it:
<blockquote>
Agent ag = new Agent();
ag.deploy();
</blockquote>
Definition at line 67 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | ) |
Allocates a new Agent object. The resulting object is not an agent; before it can react to a notification you must deploy it. This constructor has the same effect as Agent(AgentServer.getServerId(), null, false).
Definition at line 230 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | boolean | fixed | ) |
Allocates a new Agent object. This constructor has the same effect as Agent(AgentServer.getServerId(), null, fixed).
| fixed | if true agent is pinned in memory |
Definition at line 242 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | String | name | ) |
Allocates a new Agent object. This constructor has the same effect as Agent(AgentServer.getServerId(), name, false).
| name | symbolic name |
Definition at line 254 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | String | name, | |
| boolean | fixed | |||
| ) |
Allocates a new Agent object. This constructor has the same effect as Agent(AgentServer.getServerId(), name, fixed).
| name | symbolic name | |
| fixed | if true agent is pinned in memory |
Definition at line 267 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | short | to | ) |
Allocates a new Agent object. This constructor has the same effect as Agent(to, null, false).
| to | Identication of target agent server |
Definition at line 279 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | short | to, | |
| String | name | |||
| ) |
Allocates a new Agent object. This constructor has the same effect as Agent(to, name, false).
| to | Identication of target agent server | |
| name | symbolic name |
Definition at line 292 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | short | to, | |
| boolean | fixed | |||
| ) |
Allocates a new Agent object. This constructor has the same effect as Agent(to, null, fixed).
| to | Identication of target agent server | |
| fixed | if true agent is pinned in memory |
Definition at line 305 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | short | to, | |
| String | name, | |||
| boolean | fixed | |||
| ) |
Allocates a new Agent object. The resulting object is not an agent; before it can react to a notification you must deploy it.
| to | Identication of target agent server | |
| name | symbolic name | |
| fixed | if true agent is pinned in memory |
Definition at line 319 of file Agent.java.
References fr.dyade.aaa.agent.Agent.logmon.
| fr.dyade.aaa.agent.Agent.Agent | ( | String | name, | |
| boolean | fixed, | |||
| AgentId | id | |||
| ) | [package] |
Constructor used to build "system" agents like AgentFactory. System agents are created from the agent package. This constructor takes the agent id as a parameter instead of building it.
| name | symbolic name | |
| fixed | if true agent is pinned in memory | |
| stamp | well known stamp |
Definition at line 343 of file Agent.java.
| fr.dyade.aaa.agent.Agent.Agent | ( | String | name, | |
| boolean | fixed, | |||
| int | stamp | |||
| ) |
Constructor used to build Well Known Services agents.
System agents are created from the agent package. WKS agents are similar to system agents, except that they may be defined in separate packages, and they do not necessarily exist on all agent servers. Their creation is controlled from the configuration file of the agent server.
This constructor takes the agent id as a parameter instead of building it. Since the constructor has been made public, the consistency of agent ids allocation must be enforced. This is done by the constructor checking that the id stamp is comprised in the AgentId.MinWKSIdStamp
AgentId.MaxWKSIdStamp interval.
| name | symbolic name | |
| fixed | if true agent is pinned in memory | |
| stamp | well known stamp |
Definition at line 376 of file Agent.java.
References fr.dyade.aaa.agent.Agent.logmon.
| void fr.dyade.aaa.agent.Agent.setNoSave | ( | ) | [protected] |
Sets the updated field to false so that the agent state is not saved after the current reaction; the field is set back to true for the next reaction.
Reimplemented in org.objectweb.joram.mom.dest.Destination, and org.objectweb.joram.mom.proxies.UserAgent.
Definition at line 84 of file Agent.java.
Referenced by fr.dyade.aaa.jndi2.server.Container.react().
| void fr.dyade.aaa.agent.Agent.setSave | ( | ) | [protected] |
Sets the updated field to true so that the agent state is saved after the current reaction.
Reimplemented in org.objectweb.joram.mom.dest.Destination, and org.objectweb.joram.mom.proxies.UserAgent.
Definition at line 92 of file Agent.java.
| final boolean fr.dyade.aaa.agent.Agent.needToBeCommited | ( | ) | [protected] |
Indicates to the Engine component that a commit is needed.
Definition at line 99 of file Agent.java.
| final void fr.dyade.aaa.agent.Agent.save | ( | ) | throws IOException [protected] |
Saves the agent state unless not requested.
Definition at line 111 of file Agent.java.
References fr.dyade.aaa.agent.Agent.logmon, fr.dyade.aaa.agent.Agent.name, and fr.dyade.aaa.agent.Agent.toString().
Referenced by fr.dyade.aaa.agent.GCEngine.commit(), fr.dyade.aaa.agent.Engine.commit(), fr.dyade.aaa.agent.Engine.createAgent(), and fr.dyade.aaa.agent.Engine.init().
Here is the call graph for this function:

| static final Agent fr.dyade.aaa.agent.Agent.load | ( | AgentId | id | ) | throws IOException, ClassNotFoundException [static, package] |
Restores the object state from the persistent storage.
| IOException | when accessing the stored image | |
| ClassNotFoundException | if the stored image class may not be found |
Definition at line 134 of file Agent.java.
References fr.dyade.aaa.agent.Agent.deployed, fr.dyade.aaa.agent.Agent.id, fr.dyade.aaa.agent.Agent.load(), and fr.dyade.aaa.agent.Agent.toString().
Referenced by fr.dyade.aaa.agent.Engine.dumpAgent(), fr.dyade.aaa.agent.Agent.load(), and fr.dyade.aaa.agent.Engine.reload().
Here is the call graph for this function:

| String fr.dyade.aaa.agent.Agent.getName | ( | ) |
Returns this Agent's name.
Agent's name. Implements fr.dyade.aaa.agent.AgentMBean.
Definition at line 160 of file Agent.java.
References fr.dyade.aaa.agent.Agent.name, and fr.dyade.aaa.agent.Agent.nullName.
Referenced by fr.dyade.aaa.agent.Agent.agentFinalize(), fr.dyade.aaa.agent.Agent.agentInitialize(), fr.dyade.aaa.agent.ProxyAgent.createDrivers(), fr.dyade.aaa.agent.DriverConnect.DriverConnect(), fr.dyade.aaa.agent.DriverIn.DriverIn(), fr.dyade.aaa.agent.DriverOut.DriverOut(), org.objectweb.joram.mom.dest.MonitoringTopic.init(), and com.scalagent.scheduler.monitor.MonitorAgent.react().
| void fr.dyade.aaa.agent.Agent.setName | ( | String | name | ) |
Sets this Agent's name.
| name | the Agent's name. |
Definition at line 173 of file Agent.java.
References fr.dyade.aaa.agent.Agent.nullName.
Referenced by org.objectweb.joram.mom.dest.MonitoringTopic.init().
| String fr.dyade.aaa.agent.Agent.getLogTopic | ( | ) | [protected] |
Returns default log topic for agents. Its method should be overridden in subclass in order to permit fine configuration of logging system. By default it returns Debug.A3Agent.
Reimplemented in fr.dyade.aaa.agent.AgentFactory, and fr.dyade.aaa.agent.ProxyAgent.
Definition at line 193 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Agent.agentInitialize().
| boolean fr.dyade.aaa.agent.Agent.isDeployed | ( | ) |
Returns if the currently Agent has already been deployed.
Definition at line 397 of file Agent.java.
References fr.dyade.aaa.agent.Agent.deployed.
| final void fr.dyade.aaa.agent.Agent.deploy | ( | ) | throws IOException |
Deploys a new agent. It works by sending a notification to a special agent, of class Factory, running on the target agent server. The notification asks for a remote creation of the agent. This solution presents the advantage of reusing the standard communication mechanisms of the agent machine.
The whole process involves then the following steps:
AgentCreateRequest notification with the resulting bytes stream,
| IOException | unspecialized exception |
Definition at line 420 of file Agent.java.
Referenced by org.objectweb.joram.mom.dest.AdminTopicImpl.createDestination(), org.objectweb.joram.mom.dest.AdminTopicImpl.doProcess(), org.objectweb.joram.mom.proxies.ConnectionManager.init(), org.objectweb.joram.mom.dest.MonitoringTopic.init(), fr.dyade.aaa.jndi2.server.JndiServer.init(), fr.dyade.aaa.jndi2.ha.HAJndiServer.init(), fr.dyade.aaa.jndi2.ha.HADistributedJndiServer.init(), fr.dyade.aaa.jndi2.distributed.DistributedJndiServer.init(), fr.dyade.aaa.agent.AgentAdmin.init(), and com.scalagent.scheduler.Scheduler.init().
| final void fr.dyade.aaa.agent.Agent.deploy | ( | AgentId | reply | ) | throws IOException |
Deploys a new agent. It works as deploy() method above; after the agent creation, the Factory agent sends an AgentCreateReply notification.
| reply | agent to reply to |
| IOException | unspecialized exception |
Definition at line 434 of file Agent.java.
References fr.dyade.aaa.agent.Agent.deployed, and fr.dyade.aaa.agent.Agent.logmon.
| String fr.dyade.aaa.agent.Agent.toString | ( | ) |
Returns a string representation of this agent, including the agent's class, name, global identication, and fixed property.
Implements fr.dyade.aaa.agent.AgentMBean.
Reimplemented in com.scalagent.scheduler.monitor.MonitorAgent, com.scalagent.scheduler.Scheduler, and fr.dyade.aaa.agent.ProxyAgent.
Definition at line 462 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Engine.dumpAgent(), fr.dyade.aaa.agent.Agent.load(), and fr.dyade.aaa.agent.Agent.save().
| final String fr.dyade.aaa.agent.Agent.getAgentId | ( | ) |
Returns String format of the global unique identifier of the agent.
Implements fr.dyade.aaa.agent.AgentMBean.
Definition at line 479 of file Agent.java.
| final AgentId fr.dyade.aaa.agent.Agent.getId | ( | ) |
Returns the global unique identifier of the agent. Each agent is identified by a unique identifier allowing the agent to be found. The identifiers format is detailed in AgentId class.
Definition at line 491 of file Agent.java.
References fr.dyade.aaa.agent.Agent.id.
Referenced by org.objectweb.joram.mom.proxies.UserAgent.agentInitialize(), org.objectweb.joram.mom.dest.MonitoringTopic.agentInitialize(), fr.dyade.aaa.jndi2.server.Container.agentInitialize(), org.objectweb.joram.mom.dest.Queue.agentInitialize(), com.scalagent.joram.mom.dest.mail.JavaMailTopic.agentInitialize(), com.scalagent.joram.mom.dest.mail.JavaMailQueue.agentInitialize(), fr.dyade.aaa.agent.Engine.createAgent(), org.objectweb.joram.mom.dest.AdminTopicImpl.createDestination(), org.objectweb.joram.mom.dest.AdminTopic.createsImpl(), fr.dyade.aaa.agent.Engine.deleteAgent(), org.objectweb.joram.mom.dest.AdminTopicImpl.doProcess(), fr.dyade.aaa.agent.DriverIn.DriverIn(), fr.dyade.aaa.agent.ProxyAgent.driverReact(), fr.dyade.aaa.agent.DriverOut.end(), org.objectweb.joram.mom.dest.DestinationImpl.getId(), fr.dyade.aaa.jndi2.server.RequestManager.getId(), fr.dyade.aaa.agent.HAEngine.getState(), org.objectweb.joram.mom.proxies.ConnectionManager.init(), org.objectweb.joram.mom.dest.MonitoringTopic.init(), org.objectweb.joram.mom.proxies.UserAgent.react(), org.objectweb.joram.mom.dest.MonitoringTopic.react(), fr.dyade.aaa.jndi2.server.Container.react(), fr.dyade.aaa.agent.AgentFactory.react(), com.scalagent.scheduler.monitor.MonitorAgent.react(), org.objectweb.joram.mom.dest.Queue.react(), com.scalagent.joram.mom.dest.mail.JavaMailTopic.react(), com.scalagent.joram.mom.dest.mail.JavaMailQueue.react(), org.objectweb.joram.mom.proxies.UserAgent.HeartBeatTask.run(), and fr.dyade.aaa.agent.Agent.sendTo().
| final boolean fr.dyade.aaa.agent.Agent.isFixed | ( | ) |
Tests if the agent is pinned in memory.
Implements fr.dyade.aaa.agent.AgentMBean.
Definition at line 500 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Engine.createAgent(), and fr.dyade.aaa.agent.Engine.deleteAgent().
| void fr.dyade.aaa.agent.Agent.agentInitialize | ( | boolean | firstTime | ) | throws Exception [protected] |
Gives this agent an opportunity to initialize after having been deployed, and each time it is loaded into memory.
This function is first called by the factory agent, just after it deploys the agent.
This function is used by agents with a fixed field set to true to initialize their transient variables, as it is called each time the agent server is restarted.
This function is not declared final so that derived classes may change their reload policy. The implementation of this method provided by the Agent class just registers the JMS MBean.
| firstTime | true when first called by the factory |
| Exception | unspecialized exception |
Reimplemented in com.scalagent.joram.mom.dest.mail.JavaMailQueue, com.scalagent.joram.mom.dest.mail.JavaMailTopic, com.scalagent.scheduler.Scheduler, com.scalagent.scheduler.util.Client, fr.dyade.aaa.agent.AgentAdmin, fr.dyade.aaa.agent.AgentFactory, fr.dyade.aaa.agent.ProxyAgent, fr.dyade.aaa.jndi2.server.Container, org.objectweb.joram.mom.dest.Destination, org.objectweb.joram.mom.dest.MonitoringTopic, org.objectweb.joram.mom.dest.Queue, and org.objectweb.joram.mom.proxies.UserAgent.
Definition at line 524 of file Agent.java.
References fr.dyade.aaa.agent.Agent.getLogTopic(), fr.dyade.aaa.agent.Agent.getName(), and fr.dyade.aaa.agent.Agent.logmon.
Referenced by fr.dyade.aaa.agent.Engine.createAgent(), fr.dyade.aaa.agent.Engine.reload(), and fr.dyade.aaa.agent.HAEngine.setState().
Here is the call graph for this function:

| final void fr.dyade.aaa.agent.Agent.sendTo | ( | AgentId | to, | |
| Notification | not | |||
| ) | [protected] |
This method sends a notification to the agent which id is given in parameter. During an agent reaction alls notifications sent are buffered until reaction commit.
Be careful if you use this method outside of an agent reaction, its behavior is slightly different: each notification is immediately sent using a local transaction.
| to | the unique id. of destination Agent. | |
| not | the notification to send. |
Definition at line 565 of file Agent.java.
References fr.dyade.aaa.agent.Agent.getId().
Referenced by com.scalagent.scheduler.Scheduler.addConditionListener(), com.scalagent.scheduler.util.Client.agentInitialize(), fr.dyade.aaa.agent.Agent.delete(), fr.dyade.aaa.agent.ProxyAgent.driverReact(), fr.dyade.aaa.agent.AgentFactory.react(), fr.dyade.aaa.agent.Agent.react(), org.objectweb.joram.mom.proxies.UserAgent.sendNot(), fr.dyade.aaa.jndi2.server.Container.sendNotification(), fr.dyade.aaa.agent.Agent.sendTo(), and com.scalagent.scheduler.Scheduler.signalEvent().
Here is the call graph for this function:

| final void fr.dyade.aaa.agent.Agent.sendTo | ( | Role | role, | |
| Notification | not | |||
| ) | [protected] |
This method sends a notification to the agent which id is wrapped in the specified role.
| role | the destination Role. | |
| not | the notification to send. |
Definition at line 592 of file Agent.java.
References fr.dyade.aaa.agent.Role.getListener(), and fr.dyade.aaa.agent.Agent.sendTo().
Here is the call graph for this function:

| final void fr.dyade.aaa.agent.Agent.sendTo | ( | RoleMultiple | role, | |
| Notification | not | |||
| ) | [protected] |
Sends a notification to all the agents registered in a role.
| role | the destination MultiplRole. | |
| not | the notification to send. |
Definition at line 604 of file Agent.java.
References fr.dyade.aaa.agent.RoleMultiple.getListeners(), and fr.dyade.aaa.agent.Agent.sendTo().
Here is the call graph for this function:

| void fr.dyade.aaa.agent.Agent.delete | ( | ) |
Permits this agent to destroy it. If necessary, its method should be overloaded to work properly.
Implements fr.dyade.aaa.agent.AgentMBean.
Definition at line 617 of file Agent.java.
| void fr.dyade.aaa.agent.Agent.delete | ( | AgentId | agent | ) |
Permits this agent to destroy it. If necessary, its method should be overloaded to work properly.
| agent | Id of agent to notify. |
Definition at line 627 of file Agent.java.
References fr.dyade.aaa.agent.Agent.deployed, and fr.dyade.aaa.agent.Agent.sendTo().
Here is the call graph for this function:

| void fr.dyade.aaa.agent.Agent.react | ( | AgentId | from, | |
| Notification | not | |||
| ) | throws Exception |
Defines the reaction of the agent when receiving a notification. This member function implements the common reactive behavior of an agent, it is called by the execution engine (see Engine class).
If there is no corresponding reaction, the agent send an UnknownNotification notification to the sender.
| from | agent sending notification | |
| not | notification to react to |
| Exception | unspecialized exception |
Reimplemented in com.scalagent.joram.mom.dest.ftp.FtpQueue, com.scalagent.joram.mom.dest.mail.JavaMailQueue, com.scalagent.joram.mom.dest.mail.JavaMailTopic, com.scalagent.joram.mom.dest.scheduler.SchedulerQueue, com.scalagent.scheduler.monitor.MonitorAgent, com.scalagent.scheduler.Scheduler, fr.dyade.aaa.agent.AgentAdmin, fr.dyade.aaa.agent.AgentFactory, fr.dyade.aaa.agent.ProxyAgent, fr.dyade.aaa.jndi2.server.Container, org.objectweb.joram.mom.dest.AdminTopic, org.objectweb.joram.mom.dest.ClusterQueue, org.objectweb.joram.mom.dest.Destination, org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeQueue, org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeTopic, org.objectweb.joram.mom.dest.MonitoringTopic, org.objectweb.joram.mom.dest.Queue, org.objectweb.joram.mom.dest.Topic, and org.objectweb.joram.mom.proxies.UserAgent.
Definition at line 647 of file Agent.java.
References fr.dyade.aaa.agent.Agent.logmon, and fr.dyade.aaa.agent.Agent.sendTo().
Referenced by fr.dyade.aaa.agent.Engine.run().
Here is the call graph for this function:

| void fr.dyade.aaa.agent.Agent.agentFinalize | ( | boolean | lastTime | ) |
Called to inform this agent that it is garbaged and that it should free any active resources that it has allocated. A subclass of Agent should override this method if it has any operation that it wants to perform before it is garbaged. For example, an agent with threads (a ProxyAgent for example) would use the initialize method to create the threads and the agentFinalize method to stop them.
Be careful, the notification sending is not allowed in this method.
The implementation of this method provided by the Agent class just unregister the JMX MBean if needed.
| lastTime | true when last called by the factory on agent deletion. |
Reimplemented in fr.dyade.aaa.agent.ProxyAgent, fr.dyade.aaa.jndi2.server.Container, org.objectweb.joram.mom.dest.Destination, and org.objectweb.joram.mom.proxies.UserAgent.
Definition at line 678 of file Agent.java.
References fr.dyade.aaa.agent.Agent.getName(), and fr.dyade.aaa.agent.Agent.logmon.
Referenced by fr.dyade.aaa.agent.Engine.deleteAgent(), fr.dyade.aaa.agent.Engine.garbage(), and fr.dyade.aaa.agent.Engine.terminate().
Here is the call graph for this function:

final long fr.dyade.aaa.agent.Agent.serialVersionUID = 1L [static, package] |
Define serialVersionUID for interoperability.
Definition at line 69 of file Agent.java.
transient AgentId fr.dyade.aaa.agent.Agent.id [package] |
Global unique identifier of the agent. Each agent is identified by a unique identifier allowing the agent to be found. The identifiers format is detailed in AgentId class.
Definition at line 151 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Engine.createAgent(), fr.dyade.aaa.agent.Engine.deleteAgent(), fr.dyade.aaa.agent.Engine.garbage(), fr.dyade.aaa.agent.Agent.getId(), fr.dyade.aaa.agent.Agent.load(), fr.dyade.aaa.agent.AgentFactory.react(), fr.dyade.aaa.agent.Engine.reload(), fr.dyade.aaa.agent.HAEngine.setState(), and fr.dyade.aaa.agent.Engine.terminate().
| transient String fr.dyade.aaa.agent.Agent.name |
Symbolic name of the agent
Definition at line 153 of file Agent.java.
Referenced by org.objectweb.joram.mom.dest.AdminTopicImpl.createDestination(), fr.dyade.aaa.agent.Engine.deleteAgent(), org.objectweb.joram.mom.dest.AdminTopicImpl.doProcess(), fr.dyade.aaa.agent.Engine.garbage(), fr.dyade.aaa.agent.Agent.getName(), fr.dyade.aaa.agent.AgentFactory.react(), fr.dyade.aaa.agent.Engine.reload(), fr.dyade.aaa.agent.Agent.save(), and fr.dyade.aaa.agent.Engine.terminate().
transient boolean fr.dyade.aaa.agent.Agent.fixed [protected] |
Some agents must be loaded at any time, this can be enforced by this member variable. If true agent is pinned in memory.
Definition at line 184 of file Agent.java.
Referenced by org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeQueue.JMSBridgeQueue(), and org.objectweb.joram.mom.dest.jmsbridge.JMSBridgeTopic.JMSBridgeTopic().
transient long fr.dyade.aaa.agent.Agent.last [package] |
the last variable contains the virtual time of the last access. It is used by swap-out policy.
Definition at line 205 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Engine.load().
transient boolean fr.dyade.aaa.agent.Agent.deployed = false [package] |
Determines if the current Agent has already been deployed.
Definition at line 392 of file Agent.java.
Referenced by fr.dyade.aaa.agent.Engine.createAgent(), fr.dyade.aaa.agent.Agent.delete(), fr.dyade.aaa.agent.Agent.deploy(), fr.dyade.aaa.agent.Agent.isDeployed(), fr.dyade.aaa.agent.Agent.load(), and fr.dyade.aaa.agent.HAEngine.setState().
1.5.0