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
ConstructorsConstructorDescriptionKeyValueChannelContext(CompressionConfig compression, boolean collections, boolean mutationTokens, Optional<String> bucket, boolean syncReplication, boolean vattrEnabled, boolean altRequest, CollectionMap collectionMap, com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId, boolean createAsDeleted, boolean preserveTtl) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbucket()The name of the bucket.com.couchbase.client.core.deps.io.netty.channel.ChannelIdbooleanbooleanbooleanbooleanbooleanbooleanboolean
-
Constructor Details
-
KeyValueChannelContext
public KeyValueChannelContext(CompressionConfig compression, boolean collections, boolean mutationTokens, Optional<String> bucket, boolean syncReplication, boolean vattrEnabled, boolean altRequest, CollectionMap collectionMap, com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId, boolean createAsDeleted, boolean preserveTtl)
-
-
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
public com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId() -
createAsDeleted
public boolean createAsDeleted() -
preserveTtl
public boolean preserveTtl() -
bucket
The name of the bucket.
-