Uses of Class
com.couchbase.client.core.env.CompressionConfig.Builder
-
Uses of CompressionConfig.Builder in com.couchbase.client.core.env
Modifier and TypeMethodDescriptionstatic CompressionConfig.Builder
CompressionConfig.builder()
Deprecated.CoreEnvironment.Builder.compressionConfig()
Returns the currently stored config builder.CompressionConfig.Builder.enable
(boolean enabled) If set to false, disabled compression.static CompressionConfig.Builder
CompressionConfig.enable
(boolean enabled) Deprecated.This method creates a new builder.CompressionConfig.Builder.minRatio
(double minRatio) The minimum ratio after which a compressed doc is sent compressed versus the uncompressed version is sent for efficiency.static CompressionConfig.Builder
CompressionConfig.minRatio
(double minRatio) Deprecated.This method creates a new builder.CompressionConfig.Builder.minSize
(int minSize) The minimum size after which compression is performed.static CompressionConfig.Builder
CompressionConfig.minSize
(int minSize) Deprecated.This method creates a new builder.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.compressionConfig
(CompressionConfig.Builder compressionConfig) Deprecated.This method clobbers any previously configured values.Modifier and TypeMethodDescriptionCoreEnvironment.Builder.compressionConfig
(Consumer<CompressionConfig.Builder> builderConsumer) Passes theCompressionConfig.Builder
to the provided consumer.
CoreEnvironment.Builder.compressionConfig(Consumer)
and configure the builder passed to the consumer.