Uses of Class
com.couchbase.client.java.env.ClusterEnvironment.Builder
Packages that use 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
Methods in com.couchbase.client.java that return types with arguments of type ClusterEnvironment.BuilderMethod parameters in com.couchbase.client.java with type arguments of type ClusterEnvironment.BuilderModifier 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
Methods in com.couchbase.client.java.env that return ClusterEnvironment.BuilderModifier and TypeMethodDescriptionstatic ClusterEnvironment.BuilderClusterEnvironment.builder()Creates aClusterEnvironment.Builderto 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.Builderto the provided consumer.ClusterEnvironment.Builder.transcoder(Transcoder transcoder) Allows to override the default transcoder going to be used for all KV operations.