Also, where are the status currently being "set" in the server?
OK, I now realize what I want (method level stats) is not covered by JSR-77 performance and that JBoss is using a proprietary InvocationStats object that is gathered/managed by the container for the particular EJB.
So to re-iterate, I am trying to gather and record method level stats in a manner that does not hurt performance.
As far as how I am going to "record" the stats, it will have to be done in some asynchronous fashion w/o going down the deprecated MetricsInterceptor path http://jira.jboss.com/jira/browse/JBAS-2656.
There seem to be several differing solutions for a very similar problem of gathering stats
- deprecated MetricsInterceptor
- varia TxStatisticsInterceptor
- jsr-77 statisticis
The differing solutions should be remedied by JSR-77. Unfortunately JSR-77 does not cover method level stats as I want them to. If there is something coming down the road or a recommended approach to take the advice would be greatly appreciated.