Class AbstractBinaryMemcacheDecoder<M extends BinaryMemcacheMessage>

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler
Direct Known Subclasses:
BinaryMemcacheRequestDecoder, BinaryMemcacheResponseDecoder

public abstract class AbstractBinaryMemcacheDecoder<M extends BinaryMemcacheMessage>
extends AbstractMemcacheObjectDecoder
Decoder for both BinaryMemcacheRequest and BinaryMemcacheResponse.

The difference in the protocols (header) is implemented by the subclasses.

  • Field Details


      public static final int DEFAULT_MAX_CHUNK_SIZE
      See Also:
      Constant Field Values
  • Constructor Details

    • AbstractBinaryMemcacheDecoder

      protected AbstractBinaryMemcacheDecoder()
      Create a new AbstractBinaryMemcacheDecoder with default settings.
    • AbstractBinaryMemcacheDecoder

      protected AbstractBinaryMemcacheDecoder​(int chunkSize)
      Create a new AbstractBinaryMemcacheDecoder with custom settings.
      chunkSize - the maximum chunk size of the payload.
  • Method Details