Package org.redisson.codec
Class FstCodec
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.codec.FstCodec
- All Implemented Interfaces:
Codec
Efficient and speedy serialization codec fully
compatible with JDK Serialization codec.
https://github.com/RuedigerMoeller/fast-serialization
- Author:
- Nikita Koksharov
-
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
Constructor Summary
ConstructorDescriptionFstCodec()
FstCodec
(ClassLoader classLoader) FstCodec
(ClassLoader classLoader, FstCodec codec) FstCodec
(org.nustaq.serialization.FSTConfiguration fstConfiguration) FstCodec
(org.nustaq.serialization.FSTConfiguration fstConfiguration, boolean useCache) -
Method Summary
Modifier and TypeMethodDescriptionReturns class loader object used to load classes used in decoding processReturns 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, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
Constructor Details
-
FstCodec
public FstCodec() -
FstCodec
-
FstCodec
-
FstCodec
public FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration) -
FstCodec
public FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration, boolean useCache)
-
-
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
-
getClassLoader
Description copied from interface:Codec
Returns class loader object used to load classes used in decoding process- Specified by:
getClassLoader
in interfaceCodec
- Overrides:
getClassLoader
in classBaseCodec
- Returns:
- class loader
-