-
Deprecated Enum Classes
-
Deprecated MethodsMethodDescriptionDoesn't do anything.use
Client.Builder.seedNodes(String...)instead.useClient.Builder.seedNodes(Collection)instead.Please useClient.Builder.securityConfig(Consumer)instead.Please useClient.Builder.securityConfig(Consumer)instead.in favor ofClient.builder()Please useClient.failoverLogs(Collection)instead.This method of recovering state does not account for whether an event received by the DCP client was actually processed by the user's application. This can cause the application to resume from the wrong point, silently skipping some events. Instead, an application should track its own state, and resume usingClient.resumeStreaming(Map).This method of recovering state does not account for whether an event received by the DCP client was actually processed by the user's application. This can cause the application to resume from the wrong point, and silently ignore some events. Instead, an application should track its own state, and resume usingClient.resumeStreaming(Map).Please useClient.startStreaming(Collection)instead.Please useClient.stopStreaming(Collection)instead.This check is not robust in a world where multiple nodes can share the same host. A safer approach would be to consider the KV port as well.Please useNodeInfo.host()instead.Please useNodeInfo.ports()instead.Please useNodeInfo.ports()instead.Please useRedactableArgument.redactMeta(Object)instead.Please useRedactableArgument.redactSystem(Object)instead.Please useRedactableArgument.redactUser(Object)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.in favor ofDcpFailoverLogResponse.entries(ByteBuf)in favor ofDcpFailoverLogResponse.entries(ByteBuf)in favor ofDcpFailoverLogResponse.entries(ByteBuf)Please useinsteadThis method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.This method parses the key incorrectly if collections are enabled. Please useMessageUtil.getCollectionIdAndKey(ByteBuf, boolean)instead.in favor ofMessageUtil.getResponseStatus(ByteBuf)in favor ofPartitionState.setFailoverLog(List)in favor ofPartitionState.setSnapshot(SnapshotMarker)in favor ofPartitionState.setSnapshot(SnapshotMarker)This method of recovering state does not account for whether an event received by the DCP client was actually processed by the user's application. This can cause the application to resume from the wrong point, silently skipping some events. Instead, an application should track its own state, and resume usingClient.resumeStreaming(Map).In favor ofLong.compare(long, long)In favor ofLong.compareUnsigned(long, long)
-
Deprecated Enum ConstantsEnum ConstantDescriptionin favor of specifying compression settings by calling
DcpControl.compression(CompressionMode). Scheduled for removal in next major version.Notifier connections are deprecated with no replacement.(Removed in 5.0, use OpenConnectionFlag.NO_VALUE when opening the connection instead)
Client.recoverState(com.couchbase.client.dcp.state.StateFormat, byte[])for details.