Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
com.couchbase.client.java.env |
Holds classes related to the environment and its configuration.
|
Modifier and Type | Method and Description |
---|---|
Consumer<ClusterEnvironment.Builder> |
ClusterOptions.Built.environmentCustomizer() |
Modifier and Type | Method and Description |
---|---|
ClusterOptions |
ClusterOptions.environment(Consumer<ClusterEnvironment.Builder> environmentCustomizer)
Sets a callback that configures the ClusterEnvironment owned by this
cluster.
|
Modifier and Type | Method and Description |
---|---|
static ClusterEnvironment.Builder |
ClusterEnvironment.builder()
Creates a
ClusterEnvironment.Builder to customize the properties of the environment. |
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.cryptoManager(com.couchbase.client.core.encryption.CryptoManager cryptoManager)
Sets the cryptography manager for Field-Level Encryption
(reading and writing encrypted document fields).
|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.jsonSerializer(JsonSerializer jsonSerializer)
Sets the default serializer for converting between JSON and Java objects.
|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.load(ClusterPropertyLoader loader)
Immediately loads the properties from the given loader into the environment.
|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.transactionsConfig(TransactionsConfig.Builder transactionsConfig)
Sets the configuration for all transactions.
|
ClusterEnvironment.Builder |
ClusterEnvironment.Builder.transcoder(Transcoder transcoder)
Allows to override the default transcoder going to be used for all KV operations.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.