|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.integration.ComponentMonitorImpl
The default implementation of the ComponentMonitor interface.
This implementation classifies the ApiContext objects based on their equals
implementation.
| Constructor Summary | |
ComponentMonitorImpl()
|
|
| Method Summary | |
List |
getStatistics()
Gets the statistics information collected by this monitor. |
void |
recordMethodCall(Api api,
String componentName,
ApiContext context,
long time)
Called to record a call to a method belonging to some component. |
void |
resetStatistics()
Resets the statistics information collected by this monitor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ComponentMonitorImpl()
| Method Detail |
public void recordMethodCall(Api api,
String componentName,
ApiContext context,
long time)
ComponentMonitor
recordMethodCall in interface ComponentMonitorcomponentName - context - time - public List getStatistics()
ComponentMonitor
getStatistics in interface ComponentMonitorpublic void resetStatistics()
ComponentMonitor
resetStatistics in interface ComponentMonitor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||