public Connection getConnection(Url url, int connectTimeout) throws RemotingException,
                                                                InterruptedException {
    """
	Get a connection using a {@link Url}.<br>
	<p>
	Notice:
	<ol>
	<li>Get a connection, if none then create.
	<li>Bolt will control this connection in {@link com.alipay.remoting.ConnectionPool}
	<li>You should use {@link #closeConnection(Url url)} to close it.
	</ol>
	
	@param url
	@param connectTimeout this is prior to url args {@link RpcConfigs#CONNECT_TIMEOUT_KEY}
	@return
	@throws RemotingException
    """
        url.setConnectTimeout(connectTimeout);
        return this.connectionManager.getAndCreateIfAbsent(url);
    }
public Connection getConnection(Url url, int connectTimeout) throws RemotingException,
                                                                InterruptedException {
        url.setConnectTimeout(connectTimeout);
        return this.connectionManager.getAndCreateIfAbsent(url);
    }
public Connection getConnection ( Url url , int connectTimeout ) throws RemotingException , InterruptedException { url . setConnectTimeout ( connectTimeout ) ; return this . connectionManager . getAndCreateIfAbsent ( url ) ; }
Get a connection using a {@link Url}.<br>
<p>
Notice:
<ol>
<li>Get a connection, if none then create.
<li>Bolt will control this connection in {@link com.alipay.remoting.ConnectionPool}
<li>You should use {@link #closeConnection(Url url)} to close it.
</ol>

@param url
@param connectTimeout this is prior to url args {@link RpcConfigs#CONNECT_TIMEOUT_KEY}
@return
@throws RemotingException
Get a connection using a { @link Url } . <br > <p > Notice : <ol > <li > Get a connection if none then create . <li > Bolt will control this connection in { @link com . alipay . remoting . ConnectionPool } <li > You should use { @link #closeConnection ( Url url ) } to close it . < / ol >