Class SerializationCodec

  • All Implemented Interfaces:
    Codec

    public class SerializationCodec
    extends BaseCodec
    JDK's serialization codec.

    Fully thread-safe.*

    Author:
    Nikita Koksharov
    • Constructor Detail

      • SerializationCodec

        public SerializationCodec()
      • SerializationCodec

        public SerializationCodec​(ClassLoader classLoader)
    • Method Detail

      • 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