Interface S3AccessConfig

All Known Subinterfaces:
StorageConfiguration

@PolarisImmutable public interface S3AccessConfig
Configuration interface containing parameters for clients accessing S3 services from Polaris servers.

Applies to the STS client pool and to Iceberg S3 clients created for table operations via S3FileIO.

  • Field Details

  • Method Details

    • empty

      static S3AccessConfig empty()
      An empty config with no HTTP client overrides (e.g. tests and fixtures).
    • clientsCacheMaxSize

      OptionalInt clientsCacheMaxSize()
      Maximum number of entries to keep in the STS clients cache.
    • effectiveClientsCacheMaxSize

      default int effectiveClientsCacheMaxSize()
    • maxHttpConnections

      OptionalInt maxHttpConnections()
      Override the default maximum number of pooled connections.
    • readTimeout

      Optional<Duration> readTimeout()
      Override the default connection read timeout.
    • connectTimeout

      Optional<Duration> connectTimeout()
      Override the default TCP connect timeout.
    • connectionAcquisitionTimeout

      Optional<Duration> connectionAcquisitionTimeout()
      Override default connection acquisition timeout. This is the time a request will wait for a connection from the pool.
    • connectionMaxIdleTime

      Optional<Duration> connectionMaxIdleTime()
      Override default max idle time of a pooled connection.
    • connectionTimeToLive

      Optional<Duration> connectionTimeToLive()
      Override default time-time of a pooled connection.
    • expectContinueEnabled

      Optional<Boolean> expectContinueEnabled()
      Override default behavior whether to expect an HTTP/100-Continue.