/** * 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); } }
public void shutdown() { this.isShutDown = true; if (managedConn != null) managedConn.detach(); try { if (uniquePoolEntry != null) // and connection open? uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down manager.", iox); } finally { uniquePoolEntry = null; } }
iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
sca.detach(); synchronized (this) { managedConn = null;
sca.detach(); synchronized (this) { managedConn = null;
iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
sca.detach(); synchronized (this) { managedConn = null;
iox); } finally { sca.detach(); managedConn = null; lastReleaseTime = System.currentTimeMillis();
/** * 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); } }
/** * 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); } }
protected void revokeConnection() { final ConnAdapter conn = managedConn; if (conn == null) { return; } conn.detach(); synchronized (this) { try { uniquePoolEntry.shutdown(); } catch (final IOException iox) { // ignore log.debug("Problem while shutting down connection.", iox); } } }
protected void revokeConnection() { final ConnAdapter conn = managedConn; if (conn == null) { return; } conn.detach(); synchronized (this) { try { uniquePoolEntry.shutdown(); } catch (final IOException iox) { // ignore log.debug("Problem while shutting down connection.", iox); } } }
protected void revokeConnection() { final ConnAdapter conn = managedConn; if (conn == null) { return; } conn.detach(); synchronized (this) { try { uniquePoolEntry.shutdown(); } catch (final IOException iox) { // ignore log.debug("Problem while shutting down connection.", iox); } } }
protected void revokeConnection() { final ConnAdapter conn = managedConn; if (conn == null) { return; } conn.detach(); synchronized (this) { try { uniquePoolEntry.shutdown(); } catch (final 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); } }
public void shutdown() { this.isShutDown = true; if (managedConn != null) managedConn.detach(); try { if (uniquePoolEntry != null) // and connection open? uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down manager.", iox); } finally { uniquePoolEntry = null; } }
public void shutdown() { this.isShutDown = true; if (managedConn != null) managedConn.detach(); try { if (uniquePoolEntry != null) // and connection open? uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down manager.", iox); } finally { uniquePoolEntry = null; } }
public void shutdown() { this.isShutDown = true; if (managedConn != null) managedConn.detach(); try { if (uniquePoolEntry != null) // and connection open? uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down manager.", iox); } finally { uniquePoolEntry = null; } }
public void shutdown() { this.isShutDown = true; if (managedConn != null) managedConn.detach(); try { if (uniquePoolEntry != null) // and connection open? uniquePoolEntry.shutdown(); } catch (IOException iox) { // ignore log.debug("Problem while shutting down manager.", iox); } finally { uniquePoolEntry = null; } }