Package org.redisson.codec
Class LZ4Codec
- java.lang.Object
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.codec.LZ4Codec
-
- All Implemented Interfaces:
Codec
public class LZ4Codec extends BaseCodec
LZ4 compression codec. Uses innerCodec
to convert object to binary stream.MarshallingCodec
used by default. Fully thread-safe. https://github.com/jpountz/lz4-java- Author:
- Nikita Koksharov
- See Also:
MarshallingCodec
-
-
Field Summary
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description LZ4Codec()
LZ4Codec(ClassLoader classLoader)
LZ4Codec(ClassLoader classLoader, LZ4Codec codec)
LZ4Codec(Codec innerCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
LZ4Codec
public LZ4Codec()
-
LZ4Codec
public LZ4Codec(Codec innerCodec)
-
LZ4Codec
public LZ4Codec(ClassLoader classLoader)
-
LZ4Codec
public LZ4Codec(ClassLoader classLoader, LZ4Codec codec) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
-