Package org.redisson.codec
Class LZ4CodecV2
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.codec.LZ4CodecV2
- All Implemented Interfaces:
Codec
LZ4 compression codec.
Uses inner
Codec
to convert object to binary stream.
Kryo5Codec
used by default.
Fully thread-safe.
https://github.com/apache/commons-compress- Author:
- Nikita Koksharov
- See Also:
-
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
Constructor Summary
ConstructorDescriptionLZ4CodecV2
(ClassLoader classLoader) LZ4CodecV2
(ClassLoader classLoader, LZ4CodecV2 codec) LZ4CodecV2
(Codec innerCodec) -
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
-
LZ4CodecV2
public LZ4CodecV2() -
LZ4CodecV2
-
LZ4CodecV2
-
LZ4CodecV2
- Throws:
ReflectiveOperationException
-
-
Method Details
-
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
-