Package org.redisson.codec
Class MarshallingCodec
java.lang.Object
org.redisson.client.codec.BaseCodec
org.redisson.codec.MarshallingCodec
- All Implemented Interfaces:
Codec
JBoss Marshalling codec.
Uses River protocol by default.
https://github.com/jboss-remoting/jboss-marshalling
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enum -
Field Summary
Fields inherited from class org.redisson.client.codec.BaseCodec
SKIPPED_CODECS -
Constructor Summary
ConstructorsConstructorDescriptionMarshallingCodec(ClassLoader classLoader) MarshallingCodec(ClassLoader classLoader, MarshallingCodec codec) MarshallingCodec(MarshallingCodec.Protocol protocol, org.jboss.marshalling.MarshallingConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jboss.marshalling.MarshallingConfigurationReturns 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
-
MarshallingCodec
public MarshallingCodec() -
MarshallingCodec
-
MarshallingCodec
-
MarshallingCodec
public MarshallingCodec(MarshallingCodec.Protocol protocol, org.jboss.marshalling.MarshallingConfiguration configuration)
-
-
Method Details
-
createConfig
protected org.jboss.marshalling.MarshallingConfiguration createConfig() -
getValueDecoder
Description copied from interface:CodecReturns object decoder used for any objects stored Redis structure except HMAP- Returns:
- decoder
-
getValueEncoder
Description copied from interface:CodecReturns object encoder used for any objects stored Redis structure except HMAP- Returns:
- encoder
-
getClassLoader
Description copied from interface:CodecReturns class loader object used to load classes used in decoding process- Specified by:
getClassLoaderin interfaceCodec- Overrides:
getClassLoaderin classBaseCodec- Returns:
- class loader
-