Package org.redisson.codec
Class ZStdCodec
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.codec.ZStdCodec
- All Implemented Interfaces:
Codec
ZStandard codec.
Uses inner
Codec to convert object to binary stream.
Kryo5Codec is used by default.
Based on https://github.com/luben/zstd-jni Fully thread-safe.
- Author:
- Nikita Koksharov
- See Also:
-
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS -
Constructor Summary
ConstructorsConstructorDescriptionZStdCodec(ClassLoader classLoader) ZStdCodec(ClassLoader classLoader, ZStdCodec codec) -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
ZStdCodec
public ZStdCodec() -
ZStdCodec
-
ZStdCodec
-
ZStdCodec
- Throws:
ReflectiveOperationException
-
-
Method Details
-
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
-