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
- Alphabetic
- By Inheritance
- Builder
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new 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)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
applyProfile(profileName: String): Builder
Applies custom properties based on a profile name.
Applies custom properties based on a profile name.
At the moment only the "wan-development" profile is supported.
- returns
this, for chaining purposes.
- Annotations
- @Volatile()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def build: Try[ClusterEnvironment]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compressionConfig(config: CompressionConfig): Builder
Sets the CompressionConfig config.
Sets the CompressionConfig config.
- returns
this, for chaining
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
eventBus(eventBus: EventBus): Builder
Sets the
EventBus.Sets the
EventBus.- returns
this, for chaining
- Annotations
- @Uncommitted()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
ioConfig(config: IoConfig): Builder
Sets the IoConfig config.
Sets the IoConfig config.
- returns
this, for chaining
-
def
ioEnvironment(config: IoEnvironment): Builder
Sets the IoEnvironment config.
Sets the IoEnvironment config.
- returns
this, for chaining
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
loaders(propertyLoaders: Seq[PropertyLoader[core.env.CoreEnvironment.Builder[SELF] forSome {type SELF <: core.env.CoreEnvironment.Builder[SELF]}]]): Builder
Allows to provide custom property loaders into the environment.
Allows to provide custom property loaders into the environment.
- propertyLoaders
the custom property loaders.
- returns
this, for chaining purposes.
- Annotations
- @Volatile()
-
def
loggerConfig(config: LoggerConfig): Builder
Sets the IoConfig config.
Sets the IoConfig config.
- returns
this, for chaining
-
def
loggingMeterConfig(config: LoggingMeterConfig): Builder
Allows configuring the logging meter.
Allows configuring the logging meter.
- returns
this, for chaining purposes.
-
def
maxNumRequestsInRetry(value: Int): Builder
Customize the maximum number of requests allowed in the retry timer.
Customize the maximum number of requests allowed in the retry timer.
If the limit is reached, each request that would be queued for retry is instead cancelled with a
CancellationReasonof TOO_MANY_REQUESTS_IN_RETRY. This acts as a form of backpressure.- returns
this, for chaining
-
def
meter(meter: Meter): Builder
Sets the default
Meterto use for all operations.Sets the default
Meterto use for all operations.- returns
this, for chaining
- Annotations
- @Volatile()
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
orphanReporterConfig(config: OrphanReporterConfig): Builder
Sets the OrphanReporterConfig config.
Sets the OrphanReporterConfig config.
- returns
this, for chaining
-
def
requestTracer(requestTracer: RequestTracer): Builder
Sets the default
RequestTracerto use for all operations.Sets the default
RequestTracerto use for all operations.- returns
this, for chaining
- Annotations
- @Volatile()
-
def
retryStrategy(value: RetryStrategy): Builder
Sets the default
com.couchbase.client.core.retry.RetryStrategyto use for all operations.Sets the default
com.couchbase.client.core.retry.RetryStrategyto use for all operations.- returns
this, for chaining
-
def
scheduler(scheduler: Scheduler): Builder
Sets the reactive
Schedulerto use for operations.Sets the reactive
Schedulerto use for operations.- returns
this, for chaining
- Annotations
- @Uncommitted()
-
def
securityConfig(config: SecurityConfig): Builder
Sets the SecurityConfig config.
Sets the SecurityConfig config.
- returns
this, for chaining
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
thresholdRequestTracerConfig(config: ThresholdRequestTracerConfig): Builder
Allows configuring the threshold request tracer.
Allows configuring the threshold request tracer.
- returns
this, for chaining purposes.
-
def
timeoutConfig(config: TimeoutConfig): Builder
Sets the TimeoutConfig config.
Sets the TimeoutConfig config.
- returns
this, for chaining
-
def
transcoder(transcoder: Transcoder): Builder
Allows to override the default transcoder to be used for all KV operations.
Allows to override the default transcoder to be used for all KV operations.
- returns
this, for chaining purposes.
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated