Class ConnectorClientConfig

java.lang.Object
org.opensearch.ml.common.connector.ConnectorClientConfig
All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable, org.opensearch.core.xcontent.ToXContent, org.opensearch.core.xcontent.ToXContentObject

public class ConnectorClientConfig extends Object implements org.opensearch.core.xcontent.ToXContentObject, org.opensearch.core.common.io.stream.Writeable
  • Field Details

    • MAX_CONNECTION_FIELD

      public static final String MAX_CONNECTION_FIELD
      See Also:
    • CONNECTION_TIMEOUT_FIELD

      public static final String CONNECTION_TIMEOUT_FIELD
      See Also:
    • READ_TIMEOUT_FIELD

      public static final String READ_TIMEOUT_FIELD
      See Also:
    • MAX_CONNECTION_DEFAULT_VALUE

      public static final Integer MAX_CONNECTION_DEFAULT_VALUE
    • CONNECTION_TIMEOUT_DEFAULT_VALUE

      public static final Integer CONNECTION_TIMEOUT_DEFAULT_VALUE
    • READ_TIMEOUT_DEFAULT_VALUE

      public static final Integer READ_TIMEOUT_DEFAULT_VALUE
  • Constructor Details

    • ConnectorClientConfig

      public ConnectorClientConfig(Integer maxConnections, Integer connectionTimeout, Integer readTimeout)
    • ConnectorClientConfig

      public ConnectorClientConfig(org.opensearch.core.common.io.stream.StreamInput input) throws IOException
      Throws:
      IOException
    • ConnectorClientConfig

      public ConnectorClientConfig()
  • Method Details