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.
    • getHttpClientBuilder

      public static HttpClient.Builder getHttpClientBuilder()
      Creates an HTTP client builder suitable for use with the dispatcher. If the Deephaven truststore isn't available or can't be used, an error will be logged and returned builder will instead use the system truststore, which may cause later errors. If the system is explicitly configured without a truststore, then the client will only ever use the system truststore.
      Returns:
      a partially constructed HttpClient.Builder