public JCAConnectionPoolStatsImpl(String connectionFactory, String managedConnectionFactory, TimeStatisticImpl waitTime, TimeStatisticImpl useTime, CountStatisticImpl closeCount, CountStatisticImpl createCount, BoundedRangeStatisticImpl freePoolSize, BoundedRangeStatisticImpl poolSize, RangeStatisticImpl waitingThreadCount) { super(connectionFactory, managedConnectionFactory, waitTime, useTime); this.closeCount = closeCount; this.createCount = createCount; this.freePoolSize = freePoolSize; this.poolSize = poolSize; this.waitingThreadCount = waitingThreadCount; // lets add named stats addStatistic("freePoolSize", freePoolSize); addStatistic("poolSize", poolSize); addStatistic("waitingThreadCount", waitingThreadCount); }
public JCAConnectionPoolStatsImpl(String connectionFactory, String managedConnectionFactory, TimeStatisticImpl waitTime, TimeStatisticImpl useTime, CountStatisticImpl closeCount, CountStatisticImpl createCount, BoundedRangeStatisticImpl freePoolSize, BoundedRangeStatisticImpl poolSize, RangeStatisticImpl waitingThreadCount) { super(connectionFactory, managedConnectionFactory, waitTime, useTime); this.closeCount = closeCount; this.createCount = createCount; this.freePoolSize = freePoolSize; this.poolSize = poolSize; this.waitingThreadCount = waitingThreadCount; // lets add named stats addStatistic("freePoolSize", freePoolSize); addStatistic("poolSize", poolSize); addStatistic("waitingThreadCount", waitingThreadCount); }
public JCAConnectionPoolStatsImpl(String connectionFactory, String managedConnectionFactory, TimeStatisticImpl waitTime, TimeStatisticImpl useTime, CountStatisticImpl closeCount, CountStatisticImpl createCount, BoundedRangeStatisticImpl freePoolSize, BoundedRangeStatisticImpl poolSize, RangeStatisticImpl waitingThreadCount) { super(connectionFactory, managedConnectionFactory, waitTime, useTime); this.closeCount = closeCount; this.createCount = createCount; this.freePoolSize = freePoolSize; this.poolSize = poolSize; this.waitingThreadCount = waitingThreadCount; // lets add named stats addStatistic("freePoolSize", freePoolSize); addStatistic("poolSize", poolSize); addStatistic("waitingThreadCount", waitingThreadCount); }
public JCAConnectionPoolStatsImpl(String connectionFactory, String managedConnectionFactory, TimeStatisticImpl waitTime, TimeStatisticImpl useTime, CountStatisticImpl closeCount, CountStatisticImpl createCount, BoundedRangeStatisticImpl freePoolSize, BoundedRangeStatisticImpl poolSize, RangeStatisticImpl waitingThreadCount) { super(connectionFactory, managedConnectionFactory, waitTime, useTime); this.closeCount = closeCount; this.createCount = createCount; this.freePoolSize = freePoolSize; this.poolSize = poolSize; this.waitingThreadCount = waitingThreadCount; // lets add named stats addStatistic("freePoolSize", freePoolSize); addStatistic("poolSize", poolSize); addStatistic("waitingThreadCount", waitingThreadCount); }
public JCAConnectionPoolStatsImpl(String connectionFactory, String managedConnectionFactory, TimeStatisticImpl waitTime, TimeStatisticImpl useTime, CountStatisticImpl closeCount, CountStatisticImpl createCount, BoundedRangeStatisticImpl freePoolSize, BoundedRangeStatisticImpl poolSize, RangeStatisticImpl waitingThreadCount) { super(connectionFactory, managedConnectionFactory, waitTime, useTime); this.closeCount = closeCount; this.createCount = createCount; this.freePoolSize = freePoolSize; this.poolSize = poolSize; this.waitingThreadCount = waitingThreadCount; // lets add named stats addStatistic("freePoolSize", freePoolSize); addStatistic("poolSize", poolSize); addStatistic("waitingThreadCount", waitingThreadCount); }