@Override public void close() { try { connectionPool.close(); } catch (Exception ex) { throw new JdbcChannelException("Unable to close connection pool", ex);
pool.close();
public void close() { if (pool != null) { try { pool.close(); pool = null; LOGGER.fine("SDE connection pool closed. "); } catch (Exception e) { LOGGER.log(Level.WARNING, "Closing pool: " + e.getMessage(), e); } } }
public void close() { pool.clear(); try { pool.close(); } catch (Exception e) { } }
/** * @throws Exception */ public void destroy() throws Exception { pool.close(); }
/** * Close the object pool to avoid the memory leak. * * @throws Exception * if the close operation failed. */ public void destroy() throws Exception { LOG.debug("closing objectPool"); objectPool.close(); } }
/** * Close the object pool to avoid the memory leak. * * @throws Exception * if the close operation failed. */ public void destroy() throws Exception { LOG.debug("closing objectPool"); objectPool.close(); } }
public void close() { if (goPool != null) { try { goPool.close(); } catch (Exception e) { LOGGER.warning("REDISCONN: CLOSE: " + e); } } }
@Override public synchronized void close() throws IOException { isOpen = false; // let the currently running scanners go try { scannerPool.close(); } catch (Exception e) { throw new IOException(e); } }
@Override public void close() { logger.debug("Closing compiled JDBC query: {}", _sql); try { _pool.close(); } catch (Exception e) { throw handleError(e, "close pool of leases"); } finally { _closed = true; } }
/** * 销毁对象池 */ public void destroy() { try { internalPool.close(); } catch (Exception e) { throw new PbrpcException("Could not destroy the pool", e); } }
/** * 销毁对象池 */ public void destroy() { try { internalPool.close(); } catch (Exception e) { throw new PbrpcException("Could not destroy the pool", e); } }
@Override public void close() { // Release generic pool try { pool.close(); } catch (Exception e) { throw new OntopiaRuntimeException("Problems occurred when closing DBCP connection pool.", e); } }
/** * Shut down this factory. */ public void shutdown() { try { pool.close(); } catch (Exception e) { throw new AuthConnectionException("Failed to close client pool", e); } } }
public void close() { // Close the pool of sockets to this peer. This // will close all sockets in the pool. try { _socketPool.close(); } catch (Exception e) { if (log.isWarnEnabled()) { log.warn(s_loc.get("tcp-close-pool-error"), e); } } }
/** {@inheritDoc} */ @Override public void close() throws IOException { try { super.close(); } catch (IOException ioe) { throw ioe; } catch (Exception e) { throw new FijiIOException(e); } mFactory.mFactoryDelegate.getTable().release(); }
public void close() { // Close the pool of sockets to this peer. This // will close all sockets in the pool. try { _socketPool.close(); } catch (Exception e) { if (log.isWarnEnabled()) { log.warn(s_loc.get("tcp-close-pool-error"), e); } } }
public void close() { // Close the pool of sockets to this peer. This // will close all sockets in the pool. try { _socketPool.close(); } catch (Exception e) { if (log.isWarnEnabled()) { log.warn(s_loc.get("tcp-close-pool-error"), e); } } }
public void close() { // Close the pool of sockets to this peer. This // will close all sockets in the pool. try { _socketPool.close(); } catch (Exception e) { if (log.isWarnEnabled()) { log.warn(s_loc.get("tcp-close-pool-error"), e); } } }
public void registryDidShutdown() { try { _contextPool.clear(); _contextPool.close(); OgnlRuntime.clearCache(); Introspector.flushCaches(); } catch (Exception et) { // ignore } }