Class MemcacheProtocolDecodeHandler
java.lang.Object
com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter
com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter
com.couchbase.client.core.deps.io.netty.handler.codec.ByteToMessageDecoder
com.couchbase.client.core.deps.io.netty.handler.codec.LengthFieldBasedFrameDecoder
com.couchbase.client.core.io.netty.kv.MemcacheProtocolDecodeHandler
- All Implemented Interfaces:
com.couchbase.client.core.deps.io.netty.channel.ChannelHandler
,com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandler
public class MemcacheProtocolDecodeHandler
extends com.couchbase.client.core.deps.io.netty.handler.codec.LengthFieldBasedFrameDecoder
The
MemcacheProtocolDecodeHandler
is a lightweight decoder that understands the
KV header and aggregates header and value into one buffer before passing it on.- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.client.core.deps.io.netty.handler.codec.ByteToMessageDecoder
com.couchbase.client.core.deps.io.netty.handler.codec.ByteToMessageDecoder.Cumulator
Nested classes/interfaces inherited from interface com.couchbase.client.core.deps.io.netty.channel.ChannelHandler
com.couchbase.client.core.deps.io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Fields inherited from class com.couchbase.client.core.deps.io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
-
Constructor Summary
-
Method Summary
Methods inherited from class com.couchbase.client.core.deps.io.netty.handler.codec.LengthFieldBasedFrameDecoder
decode, decode, extractFrame, getUnadjustedFrameLength
Methods inherited from class com.couchbase.client.core.deps.io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
Methods inherited from class com.couchbase.client.core.deps.io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.couchbase.client.core.deps.io.netty.channel.ChannelHandler
handlerAdded
-
Constructor Details
-
MemcacheProtocolDecodeHandler
public MemcacheProtocolDecodeHandler()
-