object ClusterEnvironment

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterEnvironment
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Builder(owned: Boolean, connectionString: Option[String] = None, ioEnvironment: Option[IoEnvironment] = None, ioConfig: Option[IoConfig] = None, compressionConfig: Option[CompressionConfig] = None, securityConfig: Option[SecurityConfig] = None, timeoutConfig: Option[TimeoutConfig] = None, loggerConfig: Option[LoggerConfig] = None, orphanReporterConfig: Option[OrphanReporterConfig] = None, eventBus: Option[EventBus] = None, scheduler: Option[Scheduler] = None, retryStrategy: Option[RetryStrategy] = None, requestTracer: Option[RequestTracer] = None, meter: Option[Meter] = None, maxNumRequestsInRetry: Option[Int] = None, transcoder: Option[Transcoder] = None, propertyLoaders: Seq[PropertyLoader[core.env.CoreEnvironment.Builder[SELF] forSome {type SELF <: core.env.CoreEnvironment.Builder[SELF]}]] = Seq(), thresholdRequestTracerConfig: Option[ThresholdRequestTracerConfig] = None, loggingMeterConfig: Option[LoggingMeterConfig] = None, error: Option[Throwable] = None) extends Product with Serializable

Value Members

  1. val WanDevelopmentProfile: String
  2. def builder: Builder
  3. def create: ClusterEnvironment