Uses of Class
com.couchbase.client.java.env.ClusterEnvironment.Builder
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
Holds classes related to the environment and its configuration.
-
Uses of ClusterEnvironment.Builder in com.couchbase.client.java
Modifier and TypeMethodDescriptionClusterOptions.environment
(Consumer<ClusterEnvironment.Builder> environmentCustomizer) Sets a callback that configures the ClusterEnvironment owned by this cluster. -
Uses of ClusterEnvironment.Builder in com.couchbase.client.java.env
Modifier and TypeMethodDescriptionstatic ClusterEnvironment.Builder
ClusterEnvironment.builder()
Creates aClusterEnvironment.Builder
to customize the properties of the environment.ClusterEnvironment.Builder.cryptoManager
(CryptoManager cryptoManager) Sets the cryptography manager for Field-Level Encryption (reading and writing encrypted document fields).ClusterEnvironment.Builder.jsonSerializer
(JsonSerializer jsonSerializer) Sets the default serializer for converting between JSON and Java objects.ClusterEnvironment.Builder.load
(ClusterPropertyLoader loader) Immediately loads the properties from the given loader into the environment.ClusterEnvironment.Builder.transactionsConfig
(TransactionsConfig.Builder transactionsConfig) Deprecated.This method clobbers any previously configured values.ClusterEnvironment.Builder.transactionsConfig
(Consumer<TransactionsConfig.Builder> builderConsumer) Passes theTransactionsConfig.Builder
to the provided consumer.ClusterEnvironment.Builder.transcoder
(Transcoder transcoder) Allows to override the default transcoder going to be used for all KV operations.