throw new IllegalArgumentException("Connection class mismatch, " +
"connection not obtained from this manager");
}
Args.notNull(tunit, "Time unit");
final ManagedClientAsyncConnectionImpl managedConn = (ManagedClientAsyncConnectionImpl) conn;
final ClientAsyncConnectionManager manager = managedConn.getManager();
if (manager != null && manager != this) {
throw new IllegalArgumentException("Connection not obtained from this manager");
}
if (this.pool.isShutdown()) {
return;