public class SnappyCodecV2 extends BaseCodec
Codec to convert object to binary stream.
MarshallingCodec used by default.
Based on https://github.com/xerial/snappy-java Fully thread-safe.
MarshallingCodecSKIPPED_CODECS| Constructor and Description |
|---|
SnappyCodecV2() |
SnappyCodecV2(ClassLoader classLoader) |
SnappyCodecV2(ClassLoader classLoader,
SnappyCodecV2 codec) |
SnappyCodecV2(Codec innerCodec) |
| Modifier and Type | Method and Description |
|---|---|
Decoder<Object> |
getValueDecoder()
Returns object decoder used for any objects stored Redis structure except HMAP
|
Encoder |
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAP
|
copy, getClassLoader, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toStringpublic SnappyCodecV2()
public SnappyCodecV2(Codec innerCodec)
public SnappyCodecV2(ClassLoader classLoader)
public SnappyCodecV2(ClassLoader classLoader, SnappyCodecV2 codec) throws ReflectiveOperationException
ReflectiveOperationExceptionCopyright © 2014–2021 Redisson. All rights reserved.