Package org.redisson.codec
Class SerializationCodec
- java.lang.Object
-
- org.redisson.client.codec.BaseCodec
-
- org.redisson.codec.SerializationCodec
-
-
Field Summary
-
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS
-
-
Constructor Summary
Constructors Constructor Description SerializationCodec()
SerializationCodec(ClassLoader classLoader)
SerializationCodec(ClassLoader classLoader, SerializationCodec codec)
-
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
-
SerializationCodec
public SerializationCodec()
-
SerializationCodec
public SerializationCodec(ClassLoader classLoader)
-
SerializationCodec
public SerializationCodec(ClassLoader classLoader, SerializationCodec codec)
-
-
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
-
-