Package org.apache.juneau.rest.stats
Class MethodExecStore
java.lang.Object
org.apache.juneau.rest.stats.MethodExecStore
Method execution statistics database.
 
Used for tracking basic call statistics on Java methods.
See Also:
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMethodExecStore(MethodExecStore.Builder builder) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic MethodExecStore.Buildercreate()Static creator.static MethodExecStore.BuilderStatic creator.Returns the timing information returned bygetStatsByTotalTime()in a readable format.getStats()Returns all the statistics in this store.Returns the statistics for the specified method.Returns timing information on all method executions on this class.Returns the thrown exception store being used by this store.
- 
Constructor Details- 
MethodExecStoreConstructor.- Parameters:
- builder- The store to use for storing thrown exception statistics.
 
 
- 
- 
Method Details- 
createStatic creator.- Parameters:
- beanStore- The bean store to use for creating beans.
- Returns:
- A new builder for this object.
 
- 
createStatic creator.- Returns:
- A new builder for this object.
 
- 
getStatsReturns the statistics for the specified method.Creates a new stats object if one has not already been created. - Parameters:
- m- The method to return the statistics for.
- Returns:
- The statistics for the specified method.  Never null .
 
- 
getStatsReturns all the statistics in this store.- Returns:
- All the statistics in this store.
 
- 
getStatsByTotalTimeReturns timing information on all method executions on this class.- Returns:
- A list of timing statistics ordered by average execution time descending.
 
- 
getReportReturns the timing information returned bygetStatsByTotalTime()in a readable format.- Returns:
- A report of all method execution times ordered by .
 
- 
getThrownStoreReturns the thrown exception store being used by this store.- Returns:
- The thrown exception store being used by this store.
 
 
-