/**
* JBQA-6456 Test jdbc statistics of data sources
*
* @author <a href="vrastsel(a)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(a)redhat.com> wrote:
PreparedStatementCacheAccessCount