Please sign in to comment.
Fix 2 Bugs in twitter4j mbean support.
1) Accumulate stats based on twitter method name, instead of full URL. 2) Give the mbean a reference to the same APIStatistics instance that is used by methodCalled() to calculate stats (instead of a local APIStatistics instance that nothing else has access to, which causes the mbean to report 0's for all stats).
- Loading branch information...
Showing with 5 additions and 6 deletions.