Class EnterpriseDispatcherSslSocketFactory

java.lang.Object
com.illumon.iris.db.tables.remotequery.EnterpriseDispatcherSslSocketFactory

public final class EnterpriseDispatcherSslSocketFactory extends Object
  • Method Details

    • getDispatcherResponseTimeoutMillis

      public static long getDispatcherResponseTimeoutMillis()
      If the dispatcher does not return within this amount of time, the worker is going to be killed anyway, so we should cap it here.
      Returns:
      How long we should wait for a Dispatcher initialization response.
    • getSslSocketFactory

      public static SSLSocketFactory getSslSocketFactory()
      Open the default Deephaven truststore and prepare a SSLSocketFactory that can be applied to any HTTPS connections. Any errors will be logged and ignored (and the https connection will likely then show the error).