// Loop through all pools and log.
Iterator poolIter = pools.keySet().iterator();
while ( poolIter.hasNext() )
{
String poolName = (String) poolIter.next();
ConnectionPool pool = (ConnectionPool) pools.get(poolName);
buf.setLength(0);
buf.append(poolName).append(" (in + out = total): ")
.append(pool.getNbrAvailable()).append(" + ")
.append(pool.getNbrCheckedOut()).append(" = ")
.append(pool.getTotalCount());
Log.info("database",buf.toString());
}
// Wait for a bit.
try