@UnstableApi public class BinaryMemcacheResponseDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
ByteToMessageDecoder.Cumulator
ChannelHandler.Sharable
DEFAULT_MAX_CHUNK_SIZE
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
构造器和说明 |
---|
BinaryMemcacheResponseDecoder() |
BinaryMemcacheResponseDecoder(int chunkSize) |
限定符和类型 | 方法和说明 |
---|---|
protected BinaryMemcacheResponse |
buildInvalidMessage()
Helper method to create a upstream message when the incoming parsing did fail.
|
protected BinaryMemcacheResponse |
decodeHeader(ByteBuf in)
Decode and return the parsed
BinaryMemcacheMessage . |
channelInactive, decode, resetDecoder
actualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handlerAdded
public BinaryMemcacheResponseDecoder()
public BinaryMemcacheResponseDecoder(int chunkSize)
protected BinaryMemcacheResponse decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoder
BinaryMemcacheMessage
.decodeHeader
在类中 AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>
in
- the incoming buffer.protected BinaryMemcacheResponse buildInvalidMessage()
AbstractBinaryMemcacheDecoder
buildInvalidMessage
在类中 AbstractBinaryMemcacheDecoder<BinaryMemcacheResponse>