@Override
    public Object invokeSync(Url url, Object request, InvokeContext invokeContext, int timeoutMillis)
                                                                                                     throws RemotingException,
                                                                                                     InterruptedException {
        // Use the specified timeout to overwrite the configuration in the url
        url.setConnectTimeout(timeoutMillis);
        if (invokeContext == null) {
            invokeContext = new InvokeContext();
        }
        final Connection conn = getConnectionAndInitInvokeContext(url, invokeContext);
        this.connectionManager.check(conn);
        return this.invokeSync(conn, request, invokeContext, timeoutMillis);
    }
@see com.alipay.remoting.rpc.RpcRemoting#invokeSync(com.alipay.remoting.Url, java.lang.Object, InvokeContext, int)
src/main/java/com/alipay/remoting/rpc/RpcClientRemoting.java