Package com.couchbase.client.core.io.netty.kv
package com.couchbase.client.core.io.netty.kv
-
ClassDescriptionThis class holds all kinds of channel attributes that are in used across the KV channel.This class gets populated with timings and success/failure of different steps in the channel bootstrap process and later allows to extract useful information for debugging.The
ErrorMapcontains mappings from errors to their attributes, negotiated between the client and the server.This handler tries to load the KV Error Map in a best effort manner.TheFeatureNegotiatingHandleris responsible for sending the KV "hello" command and to handshake enabled features on both sides.Holds context to encode KV operations based on what got negotiated in the channel.This handler is responsible for writing KV requests and completing their associated responses once they arrive.TheMemcacheProtocolclass holds static helpers that deal with the encoding and decoding as well as access of the memcache binary protocol.Contains all known/used kv protocol opcodes.TheMemcacheProtocolDecodeHandleris a lightweight decoder that understands the KV header and aggregates header and value into one buffer before passing it on.This handler makes sure that the KV protocol packets passed around are not malformed.This handler is responsible for perform SASL authentication against the KV engine.TheSaslListMechanismsHandlerasks the server KV engine which SASL mechanism it supports.TheSelectBucketHandleris responsible for, selecting the right bucket on this KV connection.Describes all the different negotiation modes between the server and the SDK.