org.cougaar.core.qos.profile
Class BlackboardSize

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.qos.profile.ProfilerBase
          extended by org.cougaar.core.qos.profile.BlackboardSize
All Implemented Interfaces:
org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel

public class BlackboardSize
extends ProfilerBase

This component profiles the per-agent blackboard size and add/change/remove counts for standard blackboard object types (UniqueObject, Task, etc).

Example output:

 
   bb_AgentA__Task - #current, added, changed, removed
   bb_AgentA__Task - 5807, 7615, 3514, 1806
   bb_AgentA__UniqueObject - 11853, 18841, 46569, 6988
   bb_AgentA__transactions - 192, 192, 0, 0
 
In this example, 5807 tasks are on the blackboard.

"transactions" is used to measure the number of plugin "execute()" cycles.

See Also:
required coordinator component, required per-agent component

Field Summary
 
Fields inherited from class org.cougaar.core.qos.profile.ProfilerBase
align, header, sb
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Constructor Summary
BlackboardSize()
           
 
Method Summary
 void load()
           
 void run()
           
 
Methods inherited from class org.cougaar.core.qos.profile.ProfilerBase
findServiceLater, getRunCount, log, setServiceBroker, toHeader
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState, halt, initialize, resume, start, stop, suspend, transitState, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend, unload
 

Constructor Detail

BlackboardSize

public BlackboardSize()
Method Detail

load

public void load()
Specified by:
load in interface org.cougaar.util.GenericStateModel
Overrides:
load in class ProfilerBase

run

public void run()
Specified by:
run in interface ProfilerService.Client
Specified by:
run in class ProfilerBase