Class KeyValueChannelContext
java.lang.Object
com.couchbase.client.core.io.netty.kv.KeyValueChannelContext
Holds context to encode KV operations based on what got negotiated in the channel.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorDescriptionKeyValueChannelContext
(CompressionConfig compression, Optional<String> bucket, CollectionMap collectionMap, com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId, Set<ServerFeature> features) -
Method Summary
Modifier and TypeMethodDescriptionboolean
bucket()
The name of the bucket.com.couchbase.client.core.deps.io.netty.channel.ChannelId
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
KeyValueChannelContext
@Internal public KeyValueChannelContext(@Nullable CompressionConfig compression, Optional<String> bucket, CollectionMap collectionMap, @Nullable com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId, Set<ServerFeature> features)
-
-
Method Details
-
collectionsEnabled
public boolean collectionsEnabled() -
compressionEnabled
public boolean compressionEnabled() -
compressionConfig
-
mutationTokensEnabled
public boolean mutationTokensEnabled() -
syncReplicationEnabled
public boolean syncReplicationEnabled() -
vattrEnabled
public boolean vattrEnabled() -
alternateRequestEnabled
public boolean alternateRequestEnabled() -
collectionMap
-
channelId
-
createAsDeleted
public boolean createAsDeleted() -
preserveTtl
public boolean preserveTtl() -
getClusterConfigWithKnownVersion
public boolean getClusterConfigWithKnownVersion() -
subdocBinaryXattr
public boolean subdocBinaryXattr() -
bucket
The name of the bucket.
-