/** * {@inheritDoc} */ public void close() { try { synchronized (lock) { pool.close(); } } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed } }
public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { synchronized (lock) { pool.close(); } } catch (Exception e) { // swallowed as of Pool 2 } }
public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { synchronized (lock) { pool.close(); } } catch (Exception e) { // swallowed as of Pool 2 } }
/** * {@inheritDoc} */ public void close() { try { pool.close(); } catch (Exception e) { // swallowed as of Pool 2 } }
public void close() { try { synchronized (lock) { pool.close(); } } catch (Exception e) { // swallowed as of Pool 2 } }
public void cleanup() { try { clientPool.close(); } catch (Exception e) { log.warn("Error while cleaning up the object pool", e); } }
public void cleanup() { try { clientPool.close(); } catch (Exception e) { log.warn("Error while cleaning up the object pool", e); } } }
public void close() throws Exception { if (logger.isTraceEnabled()) { logger.trace("close() " + this); } pool.close(); }
public synchronized void closePool(String name) throws SQLException { ObjectPool pool = (ObjectPool) _pools.get(name); if (pool != null) { _pools.remove(name); try { pool.close(); } catch (Exception e) { throw new SQLNestedException("Error closing pool " + name, e); } } }
public void shutdown() { try { pool.clear(); pool.close(); } catch (Exception ex) { Logger.getLogger(MysqlAccessor.class.getName()).log(Level.SEVERE, null, ex); } }
public void shutdown() { this.running = false; try { deliveryThreadObjectPool.close(); deliveryThreadObjectPool.clear(); } catch (Exception e) { log.error("DeliveryManager.shutdown() failed.", e); } }
public synchronized void closePool(String name) throws SQLException { ObjectPool pool = (ObjectPool) _pools.get(name); if (pool != null) { _pools.remove(name); try { pool.close(); } catch (Exception e) { throw (SQLException) new SQLException("Error closing pool " + name).initCause(e); } } }