Packages

package env

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class CircuitBreakerConfig(enabled: Boolean = ..., volumeThreshold: Int = ..., errorThresholdPercentage: Int = ..., sleepWindow: Duration = ..., rollingWindow: Duration = ...) extends Product with Serializable

    Allows configuring a com.couchbase.client.core.endpoint.CircuitBreaker.

    Allows configuring a com.couchbase.client.core.endpoint.CircuitBreaker.

    Since

    1.0.0

  2. class ClusterEnvironment extends AnyRef

    All configuration options related to a cluster environment, along with some long-lived resources including a thread-pool.

  3. case class CompressionConfig(enabled: Boolean = ..., minSize: Int = ..., minRatio: Double = ...) extends Product with Serializable

    Allows configuring and customizing the compression configuration.

    Allows configuring and customizing the compression configuration.

    enabled

    If compression is enabled or not.

    minSize

    The minimum size when compression should be performed.

    minRatio

    The minimum ratio of when a compressed doc should be sent.

    Since

    1.0.0

  4. case class IoConfig(mutationTokensEnabled: Boolean = true, dnsSrvEnabled: Option[Boolean] = None, configPollInterval: Option[Duration] = None, kvCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, queryCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, viewCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, searchCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, analyticsCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, managerCircuitBreakerConfig: Option[CircuitBreakerConfig] = None, captureTraffic: Option[Set[ServiceType]] = None, networkResolution: Option[NetworkResolution] = None, tcpKeepAlivesEnabled: Option[Boolean] = None, tcpKeepAliveTime: Option[Duration] = None, numKvConnections: Option[Int] = None, maxHttpConnections: Option[Int] = None, idleHttpConnectionTimeout: Option[Duration] = None, configIdleRedialTimeout: Option[Duration] = None) extends Product with Serializable
  5. case class IoEnvironment(managerEventLoopGroup: Option[EventLoopGroup] = None, kvEventLoopGroup: Option[EventLoopGroup] = None, queryEventLoopGroup: Option[EventLoopGroup] = None, analyticsEventLoopGroup: Option[EventLoopGroup] = None, searchEventLoopGroup: Option[EventLoopGroup] = None, viewEventLoopGroup: Option[EventLoopGroup] = None, nativeIoEnabled: Option[Boolean] = None, eventLoopThreadCount: Option[Int] = None) extends Product with Serializable

    Holds all IO-related configuration and state.

    Holds all IO-related configuration and state.

    Since

    1.0.0

  6. case class LoggerConfig(customLogger: Option[Logger] = None, fallbackToConsole: Option[Boolean] = None, disableSlf4J: Option[Boolean] = None, loggerName: Option[String] = None, diagnosticContextEnabled: Option[Boolean] = None) extends Product with Serializable
  7. case class OrphanReporterConfig(emitInterval: Option[Duration] = None, sampleSize: Option[Int] = None, queueLength: Option[Int] = None) extends Product with Serializable
  8. case class PasswordAuthenticator(username: String, password: String) extends Authenticator with Product with Serializable
  9. case class SecurityConfig(tlsEnabled: Option[Boolean] = None, nativeTlsEnabled: Option[Boolean] = None, trustCertificates: Option[Seq[X509Certificate]] = None, trustManagerFactory: Option[TrustManagerFactory] = None) extends Product with Serializable
  10. case class SeedNode(address: String, kvPort: Option[Int] = None, clusterManagerPort: Option[Int] = None) extends Product with Serializable
  11. case class TimeoutConfig(kvTimeout: Option[Duration] = None, kvDurableTimeout: Option[Duration] = None, managementTimeout: Option[Duration] = None, queryTimeout: Option[Duration] = None, viewTimeout: Option[Duration] = None, searchTimeout: Option[Duration] = None, analyticsTimeout: Option[Duration] = None, connectTimeout: Option[Duration] = None, disconnectTimeout: Option[Duration] = None) extends Product with Serializable

    Configures all default timeouts.

    Configures all default timeouts.

    kvTimeout

    the default timeout to use for key-value operations

    managementTimeout

    the default timeout to use for management operations

    queryTimeout

    the default timeout to use for query operations

    viewTimeout

    the default timeout to use for view operations

    searchTimeout

    the default timeout to use for search operations

    analyticsTimeout

    the default timeout to use for analytics operations

    connectTimeout

    the default timeout to use for connection operations

    disconnectTimeout

    the default timeout to use for disconnection operations

Value Members

  1. object ClusterEnvironment

    Functions to create a ClusterEnvironment, which provides configuration options for connecting to a Couchbase cluster.

    Functions to create a ClusterEnvironment, which provides configuration options for connecting to a Couchbase cluster.

    This environment also contains long-lived resources such as a thread-pool, so the application should take care to only create one of these. The same environment can be shared by multiple cluster connections.

  2. object SeedNode extends Serializable

Ungrouped