org.cougaar.core.qos.profile
Class PersistSize
java.lang.Object
org.cougaar.util.GenericStateModelAdapter
org.cougaar.core.qos.profile.ProfilerBase
org.cougaar.core.qos.profile.PersistSize
- All Implemented Interfaces:
- org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel
public class PersistSize
- extends ProfilerBase
This component profiles persistence activity for each
agent and the aggegate node "sum".
Persistence must be enabled with
-Dorg.cougaar.core.persistence.enable=true
otherwise this profiler does nothing.
Example output:
pdir_AgentA - #sumActive, mostRecent, sumAll, timestamp,
time_delta, max, first, last, numFiles,
pdir_AgentA - 11461496, 2809731, 11461531, 1103647670000,
7143025, 3286631, 0, 5, 8,
psum_NodeA - #sumActive, sumAll
psum_NodeA - 63742420, 63742665
- See Also:
required coordinator component,
required per-agent component
| Fields inherited from interface org.cougaar.util.GenericStateModel |
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED |
|
Method Summary |
void |
load()
|
void |
run()
|
| 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 |
PersistSize
public PersistSize()
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