jodd-db/src/main/java/jodd/db/pool/CoreConnectionPool.java
@Override
	public synchronized void close() {
		if (log.isInfoEnabled()) {
			log.info("Core connection pool shutdown");
		}
		closeConnections(availableConnections);
		availableConnections = new ArrayList<>(maxConnections);
		closeConnections(busyConnections);
		busyConnections = new ArrayList<>(maxConnections);
	}
@Override
	public synchronized void close() {
		if (log.isInfoEnabled()) {
			log.info("Core connection pool shutdown");
		}
		closeConnections(availableConnections);
		availableConnections = new ArrayList<>(maxConnections);
		closeConnections(busyConnections);
		busyConnections = new ArrayList<>(maxConnections);
	}
Close all the connections. Use with caution: be sure no connections are in
use before calling. Note that you are not <i>required</i> to call this
when done with a ConnectionPool, since connections are guaranteed to be
closed when garbage collected. But this method gives more control
regarding when the connections are closed.