Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Exceptions
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Interfaces
    Interface
    Description
    com.couchbase.client.core.cnc.LoggerFormatter
    SLF4J is used for all logging. Configuring the Couchbase SDK to use a customer logger formatter has no effect.
    com.couchbase.client.core.msg.ScopedRequest
    The "bucket" method is now part of the Request interface, so ScopedRequest is no longer needed.
    com.couchbase.client.core.msg.TargetedRequest
    the "target" method is now part of the Request interface, so the TargetedRequest interface is no longer necessary.
    com.couchbase.client.core.retry.reactor.Retry
    Use equivalent features of reactor-core like RetrySpec and RetryBackoffSpec instead.
    com.couchbase.client.core.retry.reactor.RetryContext
    Use equivalent features of reactor-core like RetrySpec and RetryBackoffSpec instead.
  • Deprecated Classes
    Class
    Description
    com.couchbase.client.core.cnc.events.config.ConnectionStringIgnoredEvent
    Instead of publishing this event, the SDK now throws an exception. Because this class never graduated from "volatile API" status, it will be removed from the next minor version of the SDK.
    com.couchbase.client.core.cnc.events.core.ReconfigurationIgnoredEvent
    This event is never emitted by the SDK.
    com.couchbase.client.core.cnc.events.node.NodeConnectedEvent
    This event is sent when a node is created, which happens before network connections are established. To avoid confusion, this event is deprecated in favor of the more appropriately named NodeCreatedEvent.
    com.couchbase.client.core.env.ThresholdRequestTracerConfig
    com.couchbase.client.core.env.ThresholdRequestTracerConfig.Builder
    com.couchbase.client.core.manager.CoreBucketManager
    com.couchbase.client.core.msg.manager.GenericManagerRequest
    in favor of issuing manager requests using CoreHttpClient. CAVEAT: the core HTTP client throws an exception if the response's HTTP status code indicates failure. This is in contrast to GenericManagerRequest, whose response completes "successfully" regardless of HTTP status code.
    com.couchbase.client.core.retry.reactor.DefaultRetry
    Use equivalent features of reactor-core like RetrySpec and RetryBackoffSpec instead.
    com.couchbase.client.core.service.kv.ReplicaHelper.GetReplicaResponse
    Please use CoreGetResult in new code.
  • Deprecated Exceptions
    Exceptions
    Description
    com.couchbase.client.core.error.subdoc.XattrInvalidFlagComboException
    com.couchbase.client.core.error.subdoc.XattrInvalidOrderException
    com.couchbase.client.core.retry.reactor.RetryExhaustedException
    Use equivalent features of reactor-core like Exceptions.retryExhausted(String, Throwable) and Exceptions.isRetryExhausted(Throwable) instead.
  • Deprecated Methods
    Method
    Description
    com.couchbase.client.core.api.CoreCouchbaseOps.asCore()
    This method goes away after the Core / Protostellar refactor. For now, it helps components that depend on Core fail with `FeatureNotAvailableException` when Protostellar is used.
    com.couchbase.client.core.cnc.Event.createdAt()
    Please use Event.created() instead.
    com.couchbase.client.core.cnc.events.config.ConnectionStringIgnoredEvent.ignoringParameters(ConnectionString)
    com.couchbase.client.core.cnc.events.config.ConnectionStringIgnoredEvent.ignoringScheme(ConnectionString)
    com.couchbase.client.core.cnc.events.tracing.OrphansRecordedEvent.orphans()
    com.couchbase.client.core.cnc.events.tracing.OverThresholdRequestsRecordedEvent.overThreshold()
    com.couchbase.client.core.cnc.events.transaction.TransactionCleanupAttemptEvent.atrBucket()
    com.couchbase.client.core.cnc.tracing.ThresholdLoggingTracer.builder(EventBus)
    please use ThresholdLoggingTracer.create(EventBus, ThresholdLoggingTracerConfig) instead.
    com.couchbase.client.core.config.BucketConfig.rev()
    Please use BucketConfig.version() instead.
    com.couchbase.client.core.config.BucketConfig.revEpoch()
    Please use BucketConfig.version() instead.
    com.couchbase.client.core.config.GlobalConfig.rev()
    Please use GlobalConfig.version() instead.
    com.couchbase.client.core.config.GlobalConfig.revEpoch()
    Please use GlobalConfig.version() instead.
    com.couchbase.client.core.config.MemcachedBucketConfig.ketamaNodes()
    Please use MemcachedBucketConfig.nodeForKey(byte[]) for Ketama lookups instead.
    com.couchbase.client.core.config.MemcachedBucketConfig.nodeForId(byte[])
    Please use MemcachedBucketConfig.nodeForKey(byte[]).identifier() instead.
    com.couchbase.client.core.Core.create(CoreEnvironment, Authenticator, Set<SeedNode>)
    Please use Core.create(CoreEnvironment, Authenticator, ConnectionString) instead.
    com.couchbase.client.core.env.CompressionConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.compressionConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.CompressionConfig.create()
    Instead, please use CoreEnvironment.Builder.compressionConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.CompressionConfig.enable(boolean)
    This method creates a new builder. Please see the deprecation notice on CompressionConfig.builder().
    com.couchbase.client.core.env.CompressionConfig.minRatio(double)
    This method creates a new builder. Please see the deprecation notice on CompressionConfig.builder().
    com.couchbase.client.core.env.CompressionConfig.minSize(int)
    This method creates a new builder. Please see the deprecation notice on CompressionConfig.builder().
    com.couchbase.client.core.env.CoreEnvironment.Builder.compressionConfig(CompressionConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.compressionConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.ioConfig(IoConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.ioConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.ioEnvironment()
    Please use CoreEnvironment.Builder.ioEnvironmentConfig() instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.ioEnvironment(IoEnvironment.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.ioEnvironment(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.loggerConfig(LoggerConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.loggerConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.loggingMeterConfig(LoggingMeterConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.loggingMeterConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.orphanReporterConfig(OrphanReporterConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.orphanReporterConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.securityConfig(SecurityConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.securityConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.thresholdLoggingTracerConfig(ThresholdLoggingTracerConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.thresholdRequestTracerConfig()
    com.couchbase.client.core.env.CoreEnvironment.Builder.thresholdRequestTracerConfig(ThresholdRequestTracerConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer) instead.
    com.couchbase.client.core.env.CoreEnvironment.Builder.timeoutConfig(TimeoutConfig.Builder)
    This method clobbers any previously configured values. Please use CoreEnvironment.Builder.timeoutConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.analyticsCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.backupCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.ioConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.IoConfig.Builder.analyticsCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.analyticsCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.backupCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.backupCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.eventingCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.eventingCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.kvCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.kvCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.managerCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.managerCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.queryCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.queryCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.searchCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.searchCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.Builder.viewCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    Please use IoConfig.Builder.viewCircuitBreakerConfig(Consumer) instead.
    com.couchbase.client.core.env.IoConfig.captureTraffic(ServiceType...)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.configIdleRedialTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.configPollInterval(Duration)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.create()
    Instead, please use CoreEnvironment.Builder.ioConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.IoConfig.enableDnsSrv(boolean)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.enableMutationTokens(boolean)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.enableTcpKeepAlives(boolean)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.eventingCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.idleHttpConnectionTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.kvCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.managerCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.maxHttpConnections(int)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.memcachedHashingStrategy(MemcachedHashingStrategy)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.networkResolution(NetworkResolution)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.numKvConnections(int)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.queryCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.searchCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.tcpKeepAliveTime(Duration)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoConfig.viewCircuitBreakerConfig(CircuitBreakerConfig.Builder)
    This method creates a new builder. Please see the deprecation notice on IoConfig.builder().
    com.couchbase.client.core.env.IoEnvironment.analyticsEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.backupEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.ioEnvironment(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.IoEnvironment.create()
    Instead, please use CoreEnvironment.Builder.ioEnvironment(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.IoEnvironment.enableNativeIo(boolean)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.eventingEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.eventLoopThreadCount(int)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.kvEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.managerEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.queryEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.searchEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.IoEnvironment.viewEventLoopGroup(EventLoopGroup)
    This method creates a new builder. Please see the deprecation notice on IoEnvironment.builder().
    com.couchbase.client.core.env.LoggerConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.loggerConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.LoggerConfig.Builder.consoleLoggerFormatter(LoggerFormatter)
    Please configure logger output via SLF4J binding instead.
    com.couchbase.client.core.env.LoggerConfig.Builder.consoleLogLevel(Level)
    This method has no effect. SLF4J is used for all logging.
    com.couchbase.client.core.env.LoggerConfig.Builder.disableSlf4J(boolean)
    SFL4J is always used for logging.
    com.couchbase.client.core.env.LoggerConfig.Builder.fallbackToConsole(boolean)
    SLF4J is used for all logging.
    com.couchbase.client.core.env.LoggerConfig.Builder.loggerName(String)
    the logging infrastructure picks the logger name automatically now based on the event type so it is easier to enable/disable logging or change the verbosity level for certain groups rather than having a single universal logger name.
    com.couchbase.client.core.env.LoggerConfig.consoleLoggerFormatter()
    SLF4J is used for all logging. Setting a custom console logger formatter has no effect.
    com.couchbase.client.core.env.LoggerConfig.consoleLoggerFormatter(LoggerFormatter)
    Please use LoggerConfig.builder() instead.
    com.couchbase.client.core.env.LoggerConfig.consoleLogLevel()
    SLF4J is used for all logging. Setting a console log level has no effect.
    com.couchbase.client.core.env.LoggerConfig.consoleLogLevel(Level)
    Please use LoggerConfig.builder() instead.
    com.couchbase.client.core.env.LoggerConfig.create()
    Instead, please use CoreEnvironment.Builder.loggerConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.LoggerConfig.disableSlf4J()
    SLF4J is used for all logging.
    com.couchbase.client.core.env.LoggerConfig.disableSlf4J(boolean)
    Please use LoggerConfig.builder() instead.
    com.couchbase.client.core.env.LoggerConfig.enableDiagnosticContext(boolean)
    Instead, please create a new builder with LoggerConfig.builder(), and then call the non-static LoggerConfig.Builder.enableDiagnosticContext(boolean) method.
    com.couchbase.client.core.env.LoggerConfig.fallbackToConsole()
    SLF4J is used for all logging.
    com.couchbase.client.core.env.LoggerConfig.fallbackToConsole(boolean)
    Please use LoggerConfig.builder() instead, and configure your SLF4J binding to log to the console if desired.
    com.couchbase.client.core.env.LoggerConfig.loggerName()
    Setting a custom logger name has no effect.
    com.couchbase.client.core.env.LoggerConfig.loggerName(String)
    the logging infrastructure picks the logger name automatically now based on the event type so it is easier to enable/disable logging or change the verbosity level for certain groups rather than having a single universal logger name.
    com.couchbase.client.core.env.LoggingMeterConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.loggingMeterConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.LoggingMeterConfig.create()
    Instead, please use CoreEnvironment.Builder.loggingMeterConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.LoggingMeterConfig.disabled()
    This method creates a new builder. Please see the deprecation notice on LoggingMeterConfig.builder().
    com.couchbase.client.core.env.LoggingMeterConfig.emitInterval(Duration)
    This method creates a new builder. Please see the deprecation notice on LoggingMeterConfig.builder().
    com.couchbase.client.core.env.LoggingMeterConfig.enabled(boolean)
    This method creates a new builder. Please see the deprecation notice on LoggingMeterConfig.builder().
    com.couchbase.client.core.env.OrphanReporterConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.orphanReporterConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.OrphanReporterConfig.create()
    Instead, please use CoreEnvironment.Builder.orphanReporterConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.OrphanReporterConfig.emitInterval(Duration)
    This method creates a new builder. Please see the deprecation notice on OrphanReporterConfig.builder().
    com.couchbase.client.core.env.OrphanReporterConfig.enabled(boolean)
    This method creates a new builder. Please see the deprecation notice on OrphanReporterConfig.builder().
    com.couchbase.client.core.env.OrphanReporterConfig.queueLength(int)
    This method creates a new builder. Please see the deprecation notice on OrphanReporterConfig.builder().
    com.couchbase.client.core.env.OrphanReporterConfig.sampleSize(int)
    This method creates a new builder. Please see the deprecation notice on OrphanReporterConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.securityConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.SecurityConfig.ciphers(List<String>)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.create()
    Instead, please use CoreEnvironment.Builder.securityConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.SecurityConfig.enableHostnameVerification(boolean)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.enableNativeTls(boolean)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.enableTls(boolean)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.trustCertificate(Path)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.trustCertificates(List<X509Certificate>)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.trustManagerFactory(TrustManagerFactory)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.trustStore(Path, String, Optional<String>)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.SecurityConfig.trustStore(KeyStore)
    This method creates a new builder. Please see the deprecation notice on SecurityConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.analyticsThreshold(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.create()
    Instead, please use CoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.disabled()
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.emitInterval(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.enabled(boolean)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.kvThreshold(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.queryThreshold(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.queueLength(int)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.sampleSize(int)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.searchThreshold(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.ThresholdLoggingTracerConfig.viewThreshold(Duration)
    This method creates a new builder. Please see the deprecation notice on ThresholdLoggingTracerConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.analyticsTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.backupTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.builder()
    Instead of creating a new builder, please use CoreEnvironment.Builder.timeoutConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.TimeoutConfig.connectTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.create()
    Instead, please use CoreEnvironment.Builder.timeoutConfig(Consumer) and configure the builder passed to the consumer. Note: CoreEnvironment is a base class; you'll probably call that method via a subclass named ClusterEnvironment.
    com.couchbase.client.core.env.TimeoutConfig.disconnectTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.eventingTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.kvDurableTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.kvScanTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.kvTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.managementTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.queryTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.searchTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimeoutConfig.viewTimeout(Duration)
    This method creates a new builder. Please see the deprecation notice on TimeoutConfig.builder().
    com.couchbase.client.core.env.TimerConfig.builder()
    Instead of creating a new builder, please use IoConfig.Builder.timerConfig(Consumer) and configure the builder passed to the consumer.
    com.couchbase.client.core.env.TimerConfig.create()
    Instead, please use IoConfig.Builder.timerConfig(Consumer) and configure the builder passed to the consumer.
    com.couchbase.client.core.manager.CoreQueryIndexManager.getNamedParamsForGetAllIndexes(String, String, String)
    com.couchbase.client.core.transaction.cleanup.ClientRecord.beforeUpdateCAS(ClientRecord)
    com.couchbase.client.core.util.ConnectionString.UnresolvedSocket.hostname()
    Please use ConnectionString.UnresolvedSocket.host() instead.
    com.couchbase.client.core.util.HostAndPort.hostname()
    Please use HostAndPort.host() instead.
  • Deprecated Constructors
    Constructor
    Description
    com.couchbase.client.core.error.CouchbaseException()
    com.couchbase.client.core.error.CouchbaseException(Throwable)
    com.couchbase.client.core.msg.kv.SubdocMutateRequest(Duration, CoreContext, CollectionIdentifier, BucketConfig, RetryStrategy, String, boolean, boolean, boolean, boolean, boolean, List<SubdocMutateRequest.Command>, long, boolean, long, Optional<DurabilityLevel>, RequestSpan)
    Please use the other constructor instead.
  • Deprecated Enum Constants
    Enum Constant
    Description
    com.couchbase.client.core.io.netty.kv.ServerFeature.DATATYPE
    this feature is considered retired.
    com.couchbase.client.core.retry.RetryReason.ENDPOINT_TEMPORARILY_NOT_AVAILABLE

Copyright © 2024 Couchbase, Inc.. All rights reserved.