Bug 58816

Summary: additional jdbc pool mbean attributes - CreatedCount, BorrowedCount
Product: Tomcat Modules Reporter: Anthony J. Biacco <it-operations>
Component: jdbc-poolAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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