Integer max = (Integer) server.getAttribute(poolServiceName, "MaxSize");
freePoolSize = new BoundedRangeStatisticImpl("FreePoolSize", "1",
"The free connection count", 0, max.longValue());
poolSize = new BoundedRangeStatisticImpl("PoolSize", "1",
"The connection count", 0, max.longValue());
poolStats = new JCAConnectionPoolStatsImpl(getobjectName(), jsr77MCFName,
waitTime, useTime, closeCount, createCount, freePoolSize, poolSize,
waitingThreadCount);
}
createCount = (CountStatisticImpl) poolStats.getCreateCount();
closeCount = (CountStatisticImpl) poolStats.getCloseCount();