Class ZStdCodec

All Implemented Interfaces:
Codec

public class ZStdCodec extends BaseCodec
ZStandard codec. Uses inner Codec to convert object to binary stream. Kryo5Codec is used by default.

Based on https://github.com/luben/zstd-jni Fully thread-safe.

Author:
Nikita Koksharov
See Also:
  • Constructor Details

  • Method Details

    • getValueDecoder

      public Decoder<Object> getValueDecoder()
      Description copied from interface: Codec
      Returns object decoder used for any objects stored Redis structure except HMAP
      Returns:
      decoder
    • getValueEncoder

      public Encoder getValueEncoder()
      Description copied from interface: Codec
      Returns object encoder used for any objects stored Redis structure except HMAP
      Returns:
      encoder