Interface Codec

All Known Implementing Classes:
AvroJacksonCodec, BaseCodec, BaseEventCodec, BitSetCodec, ByteArrayCodec, CborJacksonCodec, CompositeCodec, DoubleCodec, FstCodec, IntegerCodec, IonJacksonCodec, JCacheEventCodec, JsonCodecWrapper, JsonJacksonCodec, Kryo5Codec, KryoCodec, LocalCachedMessageCodec, LongCodec, LZ4Codec, MapCacheEventCodec, MarshallingCodec, MsgPackJacksonCodec, REntity.DEFAULT, RObjectField.DEFAULT, SerializationCodec, SmileJacksonCodec, SnappyCodec, SnappyCodecV2, StringCodec, TypedJsonJacksonCodec

public interface Codec
Redis codec interface.

It's required for implementation to have two constructors default and with ClassLoader object as parameter.

Author:
Nikita Koksharov
  • Method Details

    • getMapValueDecoder

      Decoder<Object> getMapValueDecoder()
      Returns object decoder used for hash map values in HMAP Redis structure
      Returns:
      decoder
    • getMapValueEncoder

      Encoder getMapValueEncoder()
      Returns object encoder used for hash map values in HMAP Redis structure
      Returns:
      encoder
    • getMapKeyDecoder

      Decoder<Object> getMapKeyDecoder()
      Returns object decoder used for hash map keys in HMAP Redis structure
      Returns:
      decoder
    • getMapKeyEncoder

      Encoder getMapKeyEncoder()
      Returns object encoder used for hash map keys in HMAP Redis structure
      Returns:
      encoder
    • getValueDecoder

      Decoder<Object> getValueDecoder()
      Returns object decoder used for any objects stored Redis structure except HMAP
      Returns:
      decoder
    • getValueEncoder

      Encoder getValueEncoder()
      Returns object encoder used for any objects stored Redis structure except HMAP
      Returns:
      encoder
    • getClassLoader

      ClassLoader getClassLoader()
      Returns class loader object used to load classes used in decoding process
      Returns:
      class loader