Class BinaryMemcacheObjectAggregator
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<MemcacheObject>
-
- com.couchbase.client.deps.io.netty.handler.codec.memcache.AbstractMemcacheObjectAggregator
-
- com.couchbase.client.deps.io.netty.handler.codec.memcache.binary.BinaryMemcacheObjectAggregator
-
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
public class BinaryMemcacheObjectAggregator extends AbstractMemcacheObjectAggregator
An object aggregator for the memcache binary protocol. It aggregatesBinaryMemcacheMessage
s andMemcacheContent
intoFullBinaryMemcacheRequest
s orFullBinaryMemcacheResponse
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Field Summary
-
Fields inherited from class com.couchbase.client.deps.io.netty.handler.codec.memcache.AbstractMemcacheObjectAggregator
ctx, currentMessage, DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS
-
-
Constructor Summary
Constructors Constructor Description BinaryMemcacheObjectAggregator(int maxContentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decode(ChannelHandlerContext ctx, MemcacheObject msg, List<Object> out)
-
Methods inherited from class com.couchbase.client.deps.io.netty.handler.codec.memcache.AbstractMemcacheObjectAggregator
channelInactive, getMaxContentLength, getMaxCumulationBufferComponents, handlerAdded, handlerRemoved, setMaxCumulationBufferComponents
-
Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead
-
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
-
-
-
Method Detail
-
decode
protected void decode(ChannelHandlerContext ctx, MemcacheObject msg, List<Object> out) throws Exception
- Specified by:
decode
in classMessageToMessageDecoder<MemcacheObject>
- Throws:
Exception
-
-