Package org.redisson.codec
Class Kryo5Codec
- java.lang.Object
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.codec.Kryo5Codec
-
-
Field Summary
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description Kryo5Codec()
Kryo5Codec(ClassLoader classLoader)
Kryo5Codec(ClassLoader classLoader, Kryo5Codec codec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.esotericsoftware.kryo.Kryo
createKryo(ClassLoader classLoader)
Decoder<Object>
getValueDecoder()
Returns object decoder used for any objects stored Redis structure except HMAPEncoder
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAP-
Methods inherited from class org.redisson.client.codec.BaseCodec
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
-
-
-
Constructor Detail
-
Kryo5Codec
public Kryo5Codec()
-
Kryo5Codec
public Kryo5Codec(ClassLoader classLoader, Kryo5Codec codec)
-
Kryo5Codec
public Kryo5Codec(ClassLoader classLoader)
-
-
Method Detail
-
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
-
-