public void shutdown() { manager.shutdown(); }
@Override public void close() { super.shutdown(); }
public synchronized void shutDown() { if (connectionMonitorThread != null) { connectionManager.shutdown(); connectionMonitorThread.shutdown(); } }
@OnStopped public void onStopped() { destinationAcceptsMap.clear(); try { connManager.shutdown(); client.close(); } catch (IOException e) { getLogger().error("Could not properly shutdown connections", e); } final StreamThrottler throttler = throttlerRef.getAndSet(null); if (throttler != null) { try { throttler.close(); } catch (IOException e) { getLogger().error("Failed to close StreamThrottler", e); } } }
public void close() { poolingHttpClientConnectionManager.shutdown(); }
@Override public void close() { synchronized (this) { poolmgr.shutdown(); poolmgr = null; } }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
public void reallyShutdown() { logger.trace( "REALLY shutting down connection manager" ); connectionManager.shutdown(); }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@PreDestroy public void shutdown() { if ( this.poolingClientConnectionManager != null ) { this.poolingClientConnectionManager.shutdown(); } }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@Override public void close() throws IOException { cm.shutdown(); client.close(); }
@Override protected void finalize() throws Throwable { try { shutdown(); } finally { super.finalize(); } }
@Override protected void finalize() { monitor.interrupt(); _connectionManager.shutdown(); IOUtils.closeQuietly(_httpClient); _httpClient = null; }
public synchronized void shutDown() { if (connectionMonitorThread != null) { connectionManager.shutdown(); connectionMonitorThread.shutdown(); } }
@Override public void destroy() { idleConnectionMonitorThread.shutdown(); try { httpClient.close(); } catch (IOException e) { LOGGER.info("Could not close HTTP client to Sherpa server.", e); } httpClientConnectionManager.shutdown(); super.destroy(); } }
@Override public void close() throws IOException { executorService.shutdown(); ApacheIdleConnectionCleaner.removeConnectionManager(connectionManager); connectionManager.shutdown(); IOUtils.closeQuietly(httpClient); }