Class Kryo5Codec

All Implemented Interfaces:
Codec

public class Kryo5Codec extends BaseCodec
Kryo 5 codec

Fully thread-safe.

Author:
Nikita Koksharov
  • Constructor Details

    • Kryo5Codec

      public Kryo5Codec()
    • Kryo5Codec

      public Kryo5Codec(ClassLoader classLoader, Kryo5Codec codec)
    • Kryo5Codec

      public Kryo5Codec(ClassLoader classLoader)
  • Method Details

    • createKryo

      protected com.esotericsoftware.kryo.Kryo createKryo(ClassLoader classLoader)
    • 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