|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.cougaar.util.GenericStateModelAdapter
org.cougaar.core.blackboard.BlackboardClientComponent
org.cougaar.core.plugin.ComponentPlugin
org.cougaar.core.qos.metrics.AgentLoadLoggerPlugin
public class AgentLoadLoggerPlugin
This Plugin periodically dumps Agent load data (1sec load average)
for each local Agent to the file
<node>-agent-data.log, where <node> is the
name of the Node.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.cougaar.core.blackboard.BlackboardClient |
|---|
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.qos.metrics.Constants |
|---|
_1_SEC_AVG, _10_SEC_AVG, _100_SEC_AVG, _1000_SEC_AVG, BYTE_RATE, BYTES_FROM, BYTES_IN, BYTES_OUT, BYTES_TO, CONFIRMED_MEAS_CREDIBILITY, CPU_LOAD_AVG, CPU_LOAD_MJIPS, DEFAULT_CREDIBILITY, HOURLY_MEAS_CREDIBILITY, KEY_SEPR, MINUTE_MEAS_CREDIBILITY, MSG_FROM, MSG_IN, MSG_OUT, MSG_RATE, MSG_TO, NO_CREDIBILITY, ORACLE_CREDIBILITY, PATH_SEPR, PERSIST_SIZE_LAST, SecAvgKeySuffix, SECOND_MEAS_CREDIBILITY, SYS_BASE_CREDIBILITY, SYS_DEFAULT_CREDIBILITY, THREAD_SENSOR, USER_BASE_CREDIBILITY, USER_DEFAULT_CREDIBILITY |
| 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 | |
|---|---|
AgentLoadLoggerPlugin()
|
|
| Method Summary | |
|---|---|
protected void |
execute()
Called every time this component is scheduled to run. |
protected java.util.Set |
getLocalAgents()
|
void |
load()
|
protected void |
setupSubscriptions()
Called once after initialization, as a "pre-execute()". |
| 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 |
|---|
public AgentLoadLoggerPlugin()
| Method Detail |
|---|
public void load()
load in interface org.cougaar.util.GenericStateModelload in class BlackboardClientComponentprotected final java.util.Set getLocalAgents()
protected void setupSubscriptions()
ComponentPlugin
setupSubscriptions in class ComponentPluginprotected void execute()
ComponentPlugin
execute in class ComponentPlugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||