Relay - Blackboard Economics
Gordon Vidaver
gvidaver at bbn.com
Wed Mar 26 20:48:47 EDT 2008
Hi,
It's the responsibility of the client to remove them from
the blackboard if they are no longer needed. The relays will
accumulate unless explicitly removed. You should be able to see this
if you have the "tasks" servlet loaded
(org.cougaar.planning.servlet.PlanViewServlet) and browse to the
receiving agent (e.g.
http://localhost:8800/$YOUR-RECEIVER-AGENT/tasks). If you look for
UniqueObjects, you should see the thousands of relays that have been
received. If you don't need to keep them around, the client code can
publishRemove them from the blackboard.
Gordon
At 05:34 PM 3/26/2008 Wednesday, Dimitrios Traskas wrote:
>Hi to all,
>
>I have a question in regards with Relays and objects in the
>Blackboard. If an Agent A has an established communication with an
>Agent B and they send to each other a number of messages what
>happens with messages that have been read and processed? Are they
>"garbage" collected or is it the responsibility of client code to
>get rid of them? I have thousand of messages being sent between
>Agents and I am wondering what happens once I go through a normal
>execute routine where I check the added messages in a collection.
>Once I read the message what is the lifetime of that message?
>
>
>Cheers
>Dimitris
>_______________________________________________
>Cougaar-developers mailing list
>Cougaar-developers at cougaar.org
>http://cougaar.org/mailman/listinfo/cougaar-developers
Gordon Vidaver BBN Technologies
gvidaver at bbn.com Office 6/323
617 873-3558 10 Moulton St.
617 873-2616 (fax) Cambridge, MA 02138
866-322-9311 (toll free)
More information about the Cougaar-developers
mailing list