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
ConstructorsConstructorDescriptionKryo5Codec(ClassLoader classLoader) Kryo5Codec(ClassLoader classLoader, Set<String> allowedClasses, boolean useReferences) Kryo5Codec(ClassLoader classLoader, Kryo5Codec codec) Kryo5Codec(Set<String> allowedClasses, boolean useReferences) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.esotericsoftware.kryo.KryocreateKryo(ClassLoader classLoader, boolean useReferences) 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
-
Kryo5Codec
-
Kryo5Codec
-
-
Method Details
-
createKryo
protected com.esotericsoftware.kryo.Kryo createKryo(ClassLoader classLoader, boolean useReferences) throws ClassNotFoundException - Throws:
ClassNotFoundException
-
getValueDecoder
Description copied from interface:CodecReturns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
getValueEncoder
Description copied from interface:CodecReturns object encoder used for any objects stored Redis structure except HMAP- Returns:
- encoder
-