Package org.redisson.codec
Class Kryo5Codec
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.codec.Kryo5Codec
- All Implemented Interfaces:
Codec
Kryo 5 codec
Fully thread-safe.
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
Constructor Summary
ConstructorDescriptionKryo5Codec
(ClassLoader classLoader) Kryo5Codec
(ClassLoader classLoader, Kryo5Codec codec) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.esotericsoftware.kryo.Kryo
createKryo
(ClassLoader classLoader) Returns object decoder used for any objects stored Redis structure except HMAPReturns object encoder used for any objects stored Redis structure except HMAPMethods inherited from class org.redisson.client.codec.BaseCodec
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
Constructor Details
-
Kryo5Codec
public Kryo5Codec() -
Kryo5Codec
-
Kryo5Codec
-
-
Method Details
-
createKryo
-
getValueDecoder
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
getValueEncoder
Description copied from interface:Codec
Returns object encoder used for any objects stored Redis structure except HMAP- Returns:
- encoder
-