|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interceptor is designed to track and expose information about the general usage of a Carbon Component. It is designed to track the call information about a component such as the number of times and the duration of calls to each method on a component.
Copyright 2003 Sapient
Method Summary | |
long |
getCallCounts()
The count of calls to the component. |
Collection |
getMethodStats()
A collection of the method statistics for the assisted component. |
Date |
getStartDate()
The start date of the assisted component. |
long |
getStartTime()
Returns the start time of this component |
String |
getStatsReport()
Builds an HTML report of information about the assisted component. |
void |
logStats()
Logs the statistics for the tracked component to the default logging component. |
void |
resetStats()
Resets the statistics being tracked on the component to zero. |
Method Detail |
public void resetStats()
public long getStartTime()
public Date getStartDate()
public long getCallCounts()
public Collection getMethodStats()
DefaultStatisticsInterceptor.MethodStats
DefaultStatisticsInterceptor.MethodStats
public void logStats()
public String getStatsReport()
Builds an HTML report of information about the assisted component. This report contains general information about the component as well as statistics on the total method calls and information about each method of the component.
Note: It should be noted that the failure counts are only updated apon the next call to a method that has failed. If a component is failing, there well may be uncounted failures, up to a count of the total threads that have had failures on the component.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |