Class KryoCodec

  • All Implemented Interfaces:
    Codec

    public class KryoCodec
    extends BaseCodec
    Kryo 4 codec

    Fully thread-safe.

    Author:
    Nikita Koksharov
    • Method Detail

      • get

        public com.esotericsoftware.kryo.Kryo get()
      • yield

        public void yield(com.esotericsoftware.kryo.Kryo kryo)
      • createInstance

        protected com.esotericsoftware.kryo.Kryo createInstance(List<Class<?>> classes,
                                                                ClassLoader classLoader)
        Sub classes can customize the Kryo instance by overriding this method
        Returns:
        create Kryo instance
      • 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