/** * Close the datasource. * */ public void close() { if (this.pool != null) { this.pool.value.shutdown(); this.pool = null; } }
/** * Just a synonym to shutdown. */ public void close() { shutdown(); }
/** * Shutdown connection pool */ public void shutdownConnectionPool() { connectionPool.shutdown(); }
@Override public void close() throws SQLException { _connectionPool.shutdown(); } }
/** Just a synonym to shutdown. */ public void close(){ shutdown(); }
@Override public synchronized void shutdown() { pool.shutdown(); }
public void close() { connectionPool.shutdown(); }
public void close() { connectionPool.shutdown(); }
public void realReleaseAllConnections() throws JdbcException { try { bonecp.shutdown(); } catch (Exception e) { e.printStackTrace(); throw new JdbcException(e); } }
/** * Close the datasource (i.e. shut down the entire pool). * */ public void close(){ if (getPool() != null){ getPool().shutdown(); logger.debug("Connection pool has been shut down"); } }
connectionPool.shutdown(); // shutdown connection pool. } catch (SQLException e) { e.printStackTrace();