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.
ChannelHandler.Sharable
ctx, currentMessage, DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS
Constructor and Description |
---|
BinaryMemcacheObjectAggregator(int maxContentLength) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(ChannelHandlerContext ctx,
MemcacheObject msg,
List<Object> out) |
channelInactive, getMaxContentLength, getMaxCumulationBufferComponents, handlerAdded, handlerRemoved, setMaxCumulationBufferComponents
acceptInboundMessage, channelRead
channelActive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, isSharable
public BinaryMemcacheObjectAggregator(int maxContentLength)
protected void decode(ChannelHandlerContext ctx, MemcacheObject msg, List<Object> out) throws Exception
decode
in class MessageToMessageDecoder<MemcacheObject>
Exception
Copyright © 2018 Couchbase, Inc.. All rights reserved.