Package org.redisson.codec
Class SnappyCodecV2
- java.lang.Object
 - 
- org.redisson.client.codec.BaseCodec
 - 
- org.redisson.codec.SnappyCodecV2
 
 
 
- 
- All Implemented Interfaces:
 Codec
public class SnappyCodecV2 extends BaseCodec
Google's Snappy compression codec. Uses innerCodecto convert object to binary stream.MarshallingCodecused by default.Based on https://github.com/xerial/snappy-java 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()SnappyCodecV2(ClassLoader classLoader)SnappyCodecV2(ClassLoader classLoader, SnappyCodecV2 codec)SnappyCodecV2(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 HMAPEncodergetValueEncoder()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 classLoader)
 
- 
SnappyCodecV2
public SnappyCodecV2(ClassLoader classLoader, SnappyCodecV2 codec) throws ReflectiveOperationException
- Throws:
 ReflectiveOperationException
 
 - 
 
 -