Cluster Environment
Resources and configuration for connecting to a Couchbase cluster.
You don't need to worry about creating an environment unless you want to share a single environment between multiple clusters. In that case, create an environment using a builder returned by ClusterEnvironment.builder.
See also
Types
Builder
Link copied to clipboard
Used for configuring cluster environment settings, or creating a shared cluster environment.
Functions
client Hash
Link copied to clipboard
client Version
Link copied to clipboard
compression Config
Link copied to clipboard
core Version
Link copied to clipboard
export As String
Link copied to clipboard
io Environment
Link copied to clipboard
logger Config
Link copied to clipboard
max Num Requests In Retry
Link copied to clipboard
orphan Reporter
Link copied to clipboard
request Callbacks
Link copied to clipboard
@Stability.Internal
Content copied to clipboard
request Tracer
Link copied to clipboard
retry Strategy
Link copied to clipboard
security Config
Link copied to clipboard
shutdown Async
Link copied to clipboard
shutdown Reactive
Link copied to clipboard
shutdown Suspend
Link copied to clipboard
suspend fun shutdownSuspend(timeout: Duration = timeoutConfig().disconnectTimeout().toKotlinDuration())
Content copied to clipboard
Shuts down this environment. Does the same thing as shutdown, but suspends instead of blocking.
timeout Config
Link copied to clipboard