Package org.redisson.codec
Class SnappyCodecV2
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.codec.SnappyCodecV2
-
- All Implemented Interfaces:
Codec
public class SnappyCodecV2 extends BaseCodec
Google's Snappy compression codec. Uses innerCodec
to convert object to binary stream.MarshallingCodec
used by default.Based on Fully thread-safe.
- Author:
- Nikita Koksharov
- See Also:
MarshallingCodec
-
-
Field Summary
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description SnappyCodecV2()
classLoader)
classLoader, SnappyCodecV2 codec)
SnappyCodecV2(Codec innerCodec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description >
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
-
SnappyCodecV2
public SnappyCodecV2()
-
SnappyCodecV2
public SnappyCodecV2(Codec innerCodec)
-
SnappyCodecV2
public SnappyCodecV2( classLoader)
-
SnappyCodecV2
public SnappyCodecV2( classLoader, SnappyCodecV2 codec) throws
- Throws:
-
-
Method Detail
-
getValueDecoder
public > getValueDecoder()
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
-