Class ChannelContext


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

      • ChannelContext

        public ChannelContext​(CompressionConfig compression,
                              boolean collections,
                              boolean mutationTokens,
                              String bucket,
                              boolean syncReplication,
                              boolean altRequest,
                              CollectionMap collectionMap)
    • Method Detail

      • collectionsEnabled

        public boolean collectionsEnabled()
      • compressionEnabled

        public boolean compressionEnabled()
      • mutationTokensEnabled

        public boolean mutationTokensEnabled()
      • syncReplicationEnabled

        public boolean syncReplicationEnabled()
      • alternateRequestEnabled

        public boolean alternateRequestEnabled()
      • bucket

        public String bucket()
        The name of the bucket.