Class KeyValueChannelContext

java.lang.Object
com.couchbase.client.core.io.netty.kv.KeyValueChannelContext

public class KeyValueChannelContext extends Object
Holds context to encode KV operations based on what got negotiated in the channel.
Since:
2.0.0
  • Constructor Details

  • Method Details

    • collectionsEnabled

      public boolean collectionsEnabled()
    • compressionEnabled

      public boolean compressionEnabled()
    • compressionConfig

      @Nullable public CompressionConfig compressionConfig()
    • mutationTokensEnabled

      public boolean mutationTokensEnabled()
    • syncReplicationEnabled

      public boolean syncReplicationEnabled()
    • vattrEnabled

      public boolean vattrEnabled()
    • alternateRequestEnabled

      public boolean alternateRequestEnabled()
    • collectionMap

      public CollectionMap collectionMap()
    • channelId

      @Nullable public com.couchbase.client.core.deps.io.netty.channel.ChannelId channelId()
    • createAsDeleted

      public boolean createAsDeleted()
    • preserveTtl

      public boolean preserveTtl()
    • getClusterConfigWithKnownVersion

      public boolean getClusterConfigWithKnownVersion()
    • subdocBinaryXattr

      public boolean subdocBinaryXattr()
    • bucket

      public Optional<String> bucket()
      The name of the bucket.