Class BaseEventCodec

java.lang.Object
org.redisson.codec.BaseEventCodec
All Implemented Interfaces:
Codec
Direct Known Subclasses:
JCacheEventCodec, MapCacheEventCodec

public abstract class BaseEventCodec extends Object implements Codec
Author:
Nikita Koksharov
  • Field Details

  • Constructor Details

  • Method Details

    • decode

      protected Object decode(io.netty.buffer.ByteBuf buf, State state, Decoder<?> decoder) throws IOException
      Throws:
      IOException
    • getMapValueDecoder

      public Decoder<Object> getMapValueDecoder()
      Description copied from interface: Codec
      Returns object decoder used for hash map values in HMAP Redis structure
      Specified by:
      getMapValueDecoder in interface Codec
      Returns:
      decoder
    • getMapValueEncoder

      public Encoder getMapValueEncoder()
      Description copied from interface: Codec
      Returns object encoder used for hash map values in HMAP Redis structure
      Specified by:
      getMapValueEncoder in interface Codec
      Returns:
      encoder
    • getMapKeyDecoder

      public Decoder<Object> getMapKeyDecoder()
      Description copied from interface: Codec
      Returns object decoder used for hash map keys in HMAP Redis structure
      Specified by:
      getMapKeyDecoder in interface Codec
      Returns:
      decoder
    • getMapKeyEncoder

      public Encoder getMapKeyEncoder()
      Description copied from interface: Codec
      Returns object encoder used for hash map keys in HMAP Redis structure
      Specified by:
      getMapKeyEncoder in interface Codec
      Returns:
      encoder
    • getValueEncoder

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

      public ClassLoader getClassLoader()
      Description copied from interface: Codec
      Returns class loader object used to load classes used in decoding process
      Specified by:
      getClassLoader in interface Codec
      Returns:
      class loader