Package org.redisson.codec
Class FstCodec
- java.lang.Object
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.codec.FstCodec
-
-
Field Summary
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description FstCodec()
FstCodec(ClassLoader classLoader)
FstCodec(ClassLoader classLoader, FstCodec codec)
FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration)
FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration, boolean useCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassLoader
getClassLoader()
Returns class loader object used to load classes used in decoding processDecoder<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, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
-
-
-
-
Constructor Detail
-
FstCodec
public FstCodec()
-
FstCodec
public FstCodec(ClassLoader classLoader)
-
FstCodec
public FstCodec(ClassLoader classLoader, FstCodec codec)
-
FstCodec
public FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration)
-
FstCodec
public FstCodec(org.nustaq.serialization.FSTConfiguration fstConfiguration, boolean useCache)
-
-
Method Detail
-
getValueDecoder
public Decoder<Object> getValueDecoder()
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
getValueEncoder
public Encoder getValueEncoder()
Description copied from interface:Codec
Returns object encoder used for any objects stored Redis structure except HMAP- Returns:
- encoder
-
getClassLoader
public ClassLoader 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
-
-