public class BinaryMemcacheObjectAggregator extends AbstractMemcacheObjectAggregator
An object aggregator for the memcache binary protocol.
It aggregates BinaryMemcacheMessage
s and MemcacheContent
into FullBinaryMemcacheRequest
s or FullBinaryMemcacheResponse
s.
ctx, currentMessage, DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS
Constructor and Description |
---|
BinaryMemcacheObjectAggregator(int maxContentLength) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
MemcacheObject msg,
List<Object> out) |
channelInactive, getMaxContentLength, getMaxCumulationBufferComponents, handlerAdded, handlerRemoved, setMaxCumulationBufferComponents
acceptInboundMessage, channelRead
public BinaryMemcacheObjectAggregator(int maxContentLength)
protected void decode(io.netty.channel.ChannelHandlerContext ctx, MemcacheObject msg, List<Object> out) throws Exception
decode
in class io.netty.handler.codec.MessageToMessageDecoder<MemcacheObject>
Exception
Copyright © 2018 Couchbase, Inc.. All rights reserved.