managedConn = new ConnAdapter(uniquePoolEntry, route);
if (sca.poolEntry == null) return; // already released ClientConnectionManager manager = sca.getManager(); if (manager != null && manager != this) { throw new IllegalArgumentException if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
managedConn = new ConnAdapter(uniquePoolEntry, route);
managedConn = new ConnAdapter(uniquePoolEntry, route);
managedConn = new ConnAdapter(uniquePoolEntry, route);
managedConn = new ConnAdapter(uniquePoolEntry, route);
if (sca.poolEntry == null) return; // already released ClientConnectionManager manager = sca.getManager(); if (manager != null && manager != this) { throw new IllegalArgumentException if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
managedConn = new ConnAdapter(uniquePoolEntry, route);
managedConn = new ConnAdapter(uniquePoolEntry, route);
final ClientConnectionManager manager = sca.getManager(); Asserts.check(manager == this, "Connection not obtained from this manager"); try { if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); sca.detach(); synchronized (this) { managedConn = null;
managedConn = new ConnAdapter(uniquePoolEntry, route);
managedConn = new ConnAdapter(uniquePoolEntry, route);
if (sca.poolEntry == null) return; // already released ClientConnectionManager manager = sca.getManager(); if (manager != null && manager != this) { throw new IllegalArgumentException if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
if (sca.poolEntry == null) return; // already released ClientConnectionManager manager = sca.getManager(); if (manager != null && manager != this) { throw new IllegalArgumentException if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
final ClientConnectionManager manager = sca.getManager(); Asserts.check(manager == this, "Connection not obtained from this manager"); try { if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); sca.detach(); synchronized (this) { managedConn = null;
if (sca.poolEntry == null) return; // already released ClientConnectionManager manager = sca.getManager(); if (manager != null && manager != this) { throw new IllegalArgumentException if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
final ClientConnectionManager manager = sca.getManager(); Asserts.check(manager == this, "Connection not obtained from this manager"); try { if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); sca.detach(); synchronized (this) { managedConn = null;
final ClientConnectionManager manager = sca.getManager(); Asserts.check(manager == this, "Connection not obtained from this manager"); try { if (sca.isOpen() && (this.alwaysShutDown || !sca.isMarkedReusable()) ) { if (log.isDebugEnabled()) { sca.shutdown(); sca.detach(); synchronized (this) { managedConn = null;
/** * Revokes the currently issued connection. * The adapter gets disconnected, the connection will be shut down. */ protected void revokeConnection() { if (managedConn == null) return; log.warn(MISUSE_MESSAGE); managedConn.detach(); try { uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down connection.", iox); } }
/** * Revokes the currently issued connection. * The adapter gets disconnected, the connection will be shut down. */ protected void revokeConnection() { if (managedConn == null) return; log.warn(MISUSE_MESSAGE); managedConn.detach(); try { uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down connection.", iox); } }