Class BinaryMemcacheObjectAggregator
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.handler.codec.MessageToMessageDecoder<I>
-
- io.netty.handler.codec.MessageAggregator<MemcacheObject,H,MemcacheContent,FullMemcacheMessage>
-
- io.netty.handler.codec.memcache.AbstractMemcacheObjectAggregator<BinaryMemcacheMessage>
-
- io.netty.handler.codec.memcache.binary.BinaryMemcacheObjectAggregator
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler
@UnstableApi public class BinaryMemcacheObjectAggregator extends AbstractMemcacheObjectAggregator<BinaryMemcacheMessage>
An object aggregator for the memcache binary protocol. It aggregatesBinaryMemcacheMessages andMemcacheContentintoFullBinaryMemcacheRequests orFullBinaryMemcacheResponses.
-
-
Constructor Summary
Constructors Constructor Description BinaryMemcacheObjectAggregator(int maxContentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FullMemcacheMessagebeginAggregation(BinaryMemcacheMessage start, io.netty.buffer.ByteBuf content)protected booleanisStartMessage(MemcacheObject msg)-
Methods inherited from class io.netty.handler.codec.memcache.AbstractMemcacheObjectAggregator
closeAfterContinueResponse, ignoreContentAfterContinueResponse, isAggregated, isContentLengthInvalid, isContentMessage, isLastContentMessage, newContinueResponse
-
Methods inherited from class io.netty.handler.codec.MessageAggregator
acceptInboundMessage, aggregate, channelInactive, channelReadComplete, ctx, decode, finishAggregation, handleOversizedMessage, handlerAdded, handlerRemoved, isHandlingOversizedMessage, maxContentLength, maxCumulationBufferComponents, releaseCurrentMessage, setMaxCumulationBufferComponents
-
-
-
-
Method Detail
-
isStartMessage
protected boolean isStartMessage(MemcacheObject msg) throws Exception
- Specified by:
isStartMessagein classio.netty.handler.codec.MessageAggregator<MemcacheObject,BinaryMemcacheMessage,MemcacheContent,FullMemcacheMessage>- Throws:
Exception
-
beginAggregation
protected FullMemcacheMessage beginAggregation(BinaryMemcacheMessage start, io.netty.buffer.ByteBuf content) throws Exception
- Specified by:
beginAggregationin classio.netty.handler.codec.MessageAggregator<MemcacheObject,BinaryMemcacheMessage,MemcacheContent,FullMemcacheMessage>- Throws:
Exception
-
-