Deprecated API
Contents
-
InterfaceDescriptionSLF4J is used for all logging. Configuring the Couchbase SDK to use a customer logger formatter has no effect.In favor of
BucketTopology
The "bucket" method is now part of the Request interface, so ScopedRequest is no longer needed.the "target" method is now part of the Request interface, so the TargetedRequest interface is no longer necessary.Use equivalent features of reactor-core likeRetrySpec
andRetryBackoffSpec
instead.Use equivalent features of reactor-core likeRetrySpec
andRetryBackoffSpec
instead.
-
ClassDescriptionInstead 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.This event is never emitted by the SDK.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
.In favor ofTopologyParser
In favor ofTopologyRevision
In favor ofCouchbaseBucketTopology
In favor ofClusterTopology
In favor ofTopologyParser
In favor ofMemcachedBucketTopology
In favor ofHostAndServicePorts
In favor ofPartitionTopology
In favor ofPartitionMap
In favor ofHostAndServicePorts
Please useSupplier
instead. In internal Couchbase code, please useOwnedOrExternal.external(Object)
instead.For internal Couchbase code, please useOwnedOrExternal.owned(Object)
instead.in favor of issuing manager requests usingCoreHttpClient
. 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.In favor ofNodeIdentifier
Use equivalent features of reactor-core likeRetrySpec
andRetryBackoffSpec
instead.Please useCoreGetResult
in new code.
-
Exception ClassDescriptionThe SDK never throws this exception.Use equivalent features of reactor-core like
Exceptions.retryExhausted(String, Throwable)
andExceptions.isRetryExhausted(Throwable)
instead.
-
MethodDescriptionThis method goes away after the Core / Protostellar refactor. For now, it helps components that depend on Core fail with `FeatureNotAvailableException` when Protostellar is used.In favor of
RequestTracer.requestSpan(String, RequestSpan)
, which now always sets the `db.system` attribute.Please useEvent.created()
instead.please useThresholdLoggingTracer.create(EventBus, ThresholdLoggingTracerConfig)
instead.Please useBucketConfig.version()
instead.Please useBucketConfig.version()
instead.In favor ofCouchbaseBucketConfig.hasPrimaryPartitionsOnNode(NodeIdentifier)
which handles the case where node hosts are not unique within the cluster.Please useGlobalConfig.version()
instead.Please useGlobalConfig.version()
instead.Please useMemcachedBucketConfig.nodeForKey(byte[])
for Ketama lookups instead.Please useMemcachedBucketConfig.nodeForKey(byte[])
.identifier() instead.In favor ofNodeInfo.id()
In favor ofPortInfo.id()
Please useCore.create(CoreEnvironment, Authenticator, ConnectionString)
instead.Always return an empty optional. Alternate addresses are now resolved immediately when parsing cluster topology.This method does not do anything.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onCompressionConfig.builder()
.This method creates a new builder. Please see the deprecation notice onCompressionConfig.builder()
.This method creates a new builder. Please see the deprecation notice onCompressionConfig.builder()
.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.compressionConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.ioConfig(Consumer)
instead.Please useCoreEnvironment.Builder.ioEnvironmentConfig()
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.ioEnvironment(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.loggerConfig(Consumer)
instead.com.couchbase.client.core.env.CoreEnvironment.Builder.loggingMeterConfig(LoggingMeterConfig.Builder) This method clobbers any previously configured values. Please useCoreEnvironment.Builder.loggingMeterConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.orphanReporterConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.securityConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.thresholdLoggingTracerConfig(Consumer)
instead.This method clobbers any previously configured values. Please useCoreEnvironment.Builder.timeoutConfig(Consumer)
instead.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Please useIoConfig.Builder.analyticsCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.backupCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.eventingCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.kvCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.managerCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.queryCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.searchCircuitBreakerConfig(Consumer)
instead.Please useIoConfig.Builder.viewCircuitBreakerConfig(Consumer)
instead.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoConfig.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.This method creates a new builder. Please see the deprecation notice onIoEnvironment.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Please configure logger output via SLF4J binding instead.This method has no effect. SLF4J is used for all logging.SFL4J is always used for logging.SLF4J is used for all logging.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.SLF4J is used for all logging. Setting a custom console logger formatter has no effect.Please useLoggerConfig.builder()
instead.SLF4J is used for all logging. Setting a console log level has no effect.Please useLoggerConfig.builder()
instead.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.SLF4J is used for all logging.Please useLoggerConfig.builder()
instead.Instead, please create a new builder withLoggerConfig.builder()
, and then call the non-staticLoggerConfig.Builder.enableDiagnosticContext(boolean)
method.SLF4J is used for all logging.Please useLoggerConfig.builder()
instead, and configure your SLF4J binding to log to the console if desired.Setting a custom logger name has no effect.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.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onLoggingMeterConfig.builder()
.This method creates a new builder. Please see the deprecation notice onLoggingMeterConfig.builder()
.This method creates a new builder. Please see the deprecation notice onLoggingMeterConfig.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onOrphanReporterConfig.builder()
.This method creates a new builder. Please see the deprecation notice onOrphanReporterConfig.builder()
.This method creates a new builder. Please see the deprecation notice onOrphanReporterConfig.builder()
.This method creates a new builder. Please see the deprecation notice onOrphanReporterConfig.builder()
.Please use one of the "See Also" methods instead, to ensure all required builder properties are set.Please specify the password when creating the builder, using one of the "See Also" methods.This method does not support returning username and password as an atomic unit. Please usePasswordAuthenticator.builder(Supplier)
instead.Please specify the username when creating the builder, using one of the "See Also" methods.This method does not support returning username and password as an atomic unit. Please usePasswordAuthenticator.builder(Supplier)
instead.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onSecurityConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onThresholdLoggingTracerConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.Instead of creating a new builder, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.Instead, please useCoreEnvironment.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 namedClusterEnvironment
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.This method creates a new builder. Please see the deprecation notice onTimeoutConfig.builder()
.Instead of creating a new builder, please useIoConfig.Builder.timerConfig(Consumer)
and configure the builder passed to the consumer.Instead, please useIoConfig.Builder.timerConfig(Consumer)
and configure the builder passed to the consumer.This is the node's canonical hostname; it's not useful by itself, since it does not uniquely identify a node.in favor ofCoreTransactionAttemptContext.insert(CollectionIdentifier, String, byte[], int, SpanWrapper)
which takes an additional 'flags' argument.in favor ofCoreTransactionAttemptContext.replace(CoreTransactionGetResult, byte[], int, SpanWrapper)
which takes an additional 'flags' argument.Please useConnectionString.UnresolvedSocket.host()
instead.Please useHostAndPort.host()
instead.
-
ConstructorDescriptionPlease use
Builder(java.lang.String,java.lang.String)
orBuilder(java.util.function.Supplier<com.couchbase.client.core.env.UsernameAndPassword>)
instead.Please use the other constructor instead.
-
Enum ConstantDescriptionthis feature is considered retired.