@UnstableApi public class BinaryMemcacheRequestDecoder extends AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest>
ByteToMessageDecoder.CumulatorChannelHandler.SharableDEFAULT_MAX_CHUNK_SIZECOMPOSITE_CUMULATOR, MERGE_CUMULATOR| 构造器和说明 |
|---|
BinaryMemcacheRequestDecoder() |
BinaryMemcacheRequestDecoder(int chunkSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected BinaryMemcacheRequest |
buildInvalidMessage()
Helper method to create a upstream message when the incoming parsing did fail.
|
protected BinaryMemcacheRequest |
decodeHeader(ByteBuf in)
Decode and return the parsed
BinaryMemcacheMessage. |
channelInactive, decode, resetDecoderactualReadableBytes, callDecode, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlerAddedpublic BinaryMemcacheRequestDecoder()
public BinaryMemcacheRequestDecoder(int chunkSize)
protected BinaryMemcacheRequest decodeHeader(ByteBuf in)
AbstractBinaryMemcacheDecoderBinaryMemcacheMessage.decodeHeader 在类中 AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest>in - the incoming buffer.protected BinaryMemcacheRequest buildInvalidMessage()
AbstractBinaryMemcacheDecoderbuildInvalidMessage 在类中 AbstractBinaryMemcacheDecoder<BinaryMemcacheRequest>