[jboss-jira] [JBoss JIRA] (JBJCA-898) expose statistics from wrapper datasource
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Mon Sep 24 11:15:35 EDT 2012
[ https://issues.jboss.org/browse/JBJCA-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Pedersen closed JBJCA-898.
---------------------------------
Resolution: Rejected
BaseManagedConnectionFactory.getStatistics().
Please, use user forum for questions.
> 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
More information about the jboss-jira
mailing list