[
https://issues.jboss.org/browse/JBJCA-898?page=com.atlassian.jira.plugin....
]
Mathieu Lachance commented on JBJCA-898:
----------------------------------------
From WrapperDataSource (what we get from JNDI) we do not have access
to BaseManagedConnectionFactory.
expose statistics from wrapper datasource
-----------------------------------------
Key: JBJCA-898
URL:
https://issues.jboss.org/browse/JBJCA-898
Project: IronJacamar
Issue Type: Feature Request
Affects Versions: 1.0.9.Final
Environment: JBoss AS 7.1.1.Final
Reporter: Mathieu Lachance
Assignee: Jesper Pedersen
When getting from JNDI datasource from JBoss AS 7.1.1.Final we obtain a
org.jboss.jca.adapters.jdbc.WrapperDataSource. This class hold a
org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnectionFactory which hold
org.jboss.jca.adapters.jdbc.statistics.JdbcStatisticsPlugin.
It would be nice that we could grant access to these statistics in a read only way. I
would suggest adding these delegate method to WrapperDataSource :
isEnabled()
getPreparedStatementCacheAccessCount()
getPreparedStatementCacheAddCount()
getPreparedStatementCacheCurrentSize()
getPreparedStatementCacheDeleteCount()
getPreparedStatementCacheHitCount()
getPreparedStatementCacheMissCount()
I was also wondering where the Available Count, Average Blocking Time, Average Creation
Time, Created Count, .... statisics were stored. It would be nice to expose them as well.
Big thanks,
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira