[wildfly-dev] JDBC stats, clarification needed

Eduardo Sant'Ana da Silva eduardo.santanadasilva at gmail.com
Wed Aug 27 06:58:32 EDT 2014


/**
 * JBQA-6456 Test jdbc statistics of data sources
 *
 * @author <a href="vrastsel at redhat.com">Vladimir Rastseluev</a>
 */

@RunWith(Arquillian.class)
@ServerSetup(DataSourceJdbcStatisticsTestCase.TestCaseSetup.class)
public class DataSourceJdbcStatisticsTestCase {

...

     public StringBuffer assertStatisticsSet(boolean yes, ModelNode statisticNode) throws Exception {
            StringBuffer sb = new StringBuffer();
            String[] params = { "PreparedStatementCacheAccessCount", // The number of times that the statement cache was
                                                                     // accessed
                    "PreparedStatementCacheAddCount", // The number of statements added to the statement cache
                    "PreparedStatementCacheCurrentSize", // The number of prepared and callable statements currently cached in
                                                         // the statement cache
                    "PreparedStatementCacheDeleteCount", // The number of statements discarded from the cache
                    "PreparedStatementCacheHitCount" // The number of times that statements from the cache were used

            };


On Aug 27, 2014, at 6:10 AM, Heiko Braun <hbraun at redhat.com> wrote:

> PreparedStatementCacheAccessCount

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140827/84bf167d/attachment.html 


More information about the wildfly-dev mailing list