Bug 58816 - additional jdbc pool mbean attributes - CreatedCount, BorrowedCount
Summary: additional jdbc pool mbean attributes - CreatedCount, BorrowedCount
Status: RESOLVED FIXED
Alias: None
Product: Tomcat Modules
Classification: Unclassified
Component: jdbc-pool (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-07 01:39 UTC by Anthony J. Biacco
Modified: 2016-11-21 02:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony J. Biacco 2016-01-07 01:39:37 UTC
Add the BorrowedCount and CreatedCount attributes to the tomcat.jdbc mbean pools.

These attributes exist as incrementing values in the standalone Commons Pool  implementation.
It would be nice to have them in the built-in tomcat version.


CreatedCount

The total number of objects created for this pool over the lifetime of the pool.

Name: CreatedCount
Description: CreatedCount
Readable: true
Writable: false
Is: false
Type: long

BorrowedCount

The total number of objects successfully borrowed from this pool over the lifetime of the pool.

Name: BorrowedCount
Description: BorrowedCount
Readable: true
Writable: false
Is: false
Type: long


Thanks!
Comment 1 Mark Thomas 2016-03-03 11:56:05 UTC
Correct project
Comment 2 Keiichi Fujino 2016-11-21 02:31:23 UTC
Thanks for the report.
The fix will be in :
- 9.0.x for 9.0.0.M14 onwards
- 8.5.x for 8.5.9 onwards
- 8.0.x for 8.0.40 onwards
- 7.0.x for 7.0.74 onwards