org.cougaar.core.qos.profile
Class BlackboardSizeInAgent

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.blackboard.BlackboardClientComponent
          extended by org.cougaar.core.plugin.ComponentPlugin
              extended by org.cougaar.core.qos.profile.BlackboardSizeInAgent
All Implemented Interfaces:
org.cougaar.core.blackboard.BlackboardClient, org.cougaar.core.component.Component, org.cougaar.core.plugin.PluginBase, BlackboardSizeService.Client, org.cougaar.util.GenericStateModel

public final class BlackboardSizeInAgent
extends org.cougaar.core.plugin.ComponentPlugin
implements BlackboardSizeService.Client

This component supports the node-level BlackboardSize profiler.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cougaar.core.blackboard.BlackboardClient
org.cougaar.core.blackboard.BlackboardClient.Local
 
Field Summary
 
Fields inherited from class org.cougaar.core.blackboard.BlackboardClientComponent
agentId, agentIdentificationService, alarmService, blackboard, blackboardClientName
 
Fields inherited from interface org.cougaar.core.plugin.PluginBase
INSERTION_POINT
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Fields inherited from interface org.cougaar.core.blackboard.BlackboardClient
current
 
Constructor Summary
BlackboardSizeInAgent()
           
 
Method Summary
protected  void execute()
           
 java.util.Map getData()
           
 java.lang.String getName()
           
 void load()
           
protected  void setupSubscriptions()
           
 
Methods inherited from class org.cougaar.core.plugin.ComponentPlugin
getConfigFinder
 
Methods inherited from class org.cougaar.core.blackboard.BlackboardClientComponent
currentTimeMillis, cycle, getAgentIdentifier, getAlarmService, getBindingSite, getBlackboardClientName, getBlackboardService, getMessageAddress, getParameter, getParameters, getServiceBroker, halt, precycle, requestCycle, resume, setAgentIdentificationService, setAlarmService, setBindingSite, setBlackboardService, setParameter, setSchedulerService, setServiceBroker, setSuicideService, shouldExecute, start, stop, suspend, toString, unload, wasAwakened
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState, initialize, transitState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend, unload
 

Constructor Detail

BlackboardSizeInAgent

public BlackboardSizeInAgent()
Method Detail

load

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

setupSubscriptions

protected void setupSubscriptions()
Specified by:
setupSubscriptions in class org.cougaar.core.plugin.ComponentPlugin

execute

protected void execute()
Specified by:
execute in class org.cougaar.core.plugin.ComponentPlugin

getName

public java.lang.String getName()
Specified by:
getName in interface BlackboardSizeService.Client

getData

public java.util.Map getData()
Specified by:
getData in interface BlackboardSizeService.Client