code: public RetryPolicy getConnectRetryPolicy() {
      RetryPolicy result = connectRetryPolicy == null ? retryPolicy : connectRetryPolicy;
      return result != null ? result : parent != null ? parent.getConnectRetryPolicy() : null;
    }
docs: Sets the policy to use for handling {@link Connections#create(ConnectionOptions, Config, ClassLoader)
  connection attempt} errors. Overrides the {@link #withRetryPolicy(RetryPolicy) global retry
  policy}.
  
  @see #withConnectRetryPolicy(RetryPolicy)
  @see #withRetryPolicy(RetryPolicy)