code: public static SentryClient init(String dsn, SentryClientFactory sentryClientFactory) {
          SentryClient sentryClient = SentryClientFactory.sentryClient(dsn, sentryClientFactory);
          setStoredClient(sentryClient);
          return sentryClient;
      }
docs: Initialize and statically store a {@link SentryClient} by using the provided
  {@link Dsn} and {@link SentryClientFactory}.
  <p>
  Note that the Dsn or SentryClientFactory may be null, at which a best effort attempt
  is made to look up or choose the best value(s).
  
  @param dsn                 Data Source Name of the Sentry server.
  @param sentryClientFactory SentryClientFactory to use.
  @return SentryClient