private void shutdownConnection(final HttpClientConnection conn) { try { conn.shutdown(); } catch (final IOException iox) { if (this.log.isDebugEnabled()) { this.log.debug("I/O exception shutting down connection", iox); } } }
private void shutdownConnection(final HttpClientConnection conn) { try { conn.shutdown(); } catch (final IOException iox) { if (this.log.isDebugEnabled()) { this.log.debug("I/O exception shutting down connection", iox); } } }
private void shutdownConnection(final HttpClientConnection conn) { try { conn.shutdown(); } catch (final IOException iox) { if (this.log.isDebugEnabled()) { this.log.debug("I/O exception shutting down connection", iox); } } }
private void shutdownConnection(final HttpClientConnection conn) { try { conn.shutdown(); } catch (final IOException iox) { if (this.log.isDebugEnabled()) { this.log.debug("I/O exception shutting down connection", iox); } } }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
public void shutdownConnection() throws IOException { final HttpClientConnection conn = getConnection(); conn.shutdown(); }
@Override public void abortConnection() { if (this.released.compareAndSet(false, true)) { synchronized (this.managedConn) { try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } } }
@Override public void abortConnection() { if (this.released.compareAndSet(false, true)) { synchronized (this.managedConn) { try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } } }
@Override public void abortConnection() { if (this.released.compareAndSet(false, true)) { synchronized (this.managedConn) { try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } } }
@Override public void abortConnection() { if (this.released.compareAndSet(false, true)) { synchronized (this.managedConn) { try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } } }
@Override public void abortConnection() { if (this.released.compareAndSet(false, true)) { synchronized (this.managedConn) { try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } } }
public void abortConnection() { synchronized (this.managedConn) { if (this.released) { return; } this.released = true; try { this.managedConn.shutdown(); log.debug("Connection discarded"); } catch (final IOException ex) { if (this.log.isDebugEnabled()) { this.log.debug(ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } }
public void abortConnection() { synchronized (this.managedConn) { if (this.released) { return; } this.released = true; try { this.managedConn.shutdown(); if (Log.isLoggable(TAG, Log.DEBUG)) { Log.d(TAG, "Connection discarded"); } } catch (final IOException ex) { if (Log.isLoggable(TAG, Log.DEBUG)) { Log.d(TAG, ex.getMessage(), ex); } } finally { this.manager.releaseConnection( this.managedConn, null, 0, TimeUnit.MILLISECONDS); } } }