Package org.redisson.codec
Class CompositeCodec
java.lang.Object
org.redisson.codec.CompositeCodec
- All Implemented Interfaces:
Codec
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorDescriptionCompositeCodec
(ClassLoader classLoader, CompositeCodec codec) CompositeCodec
(Codec mapKeyCodec, Codec mapValueCodec) CompositeCodec
(Codec mapKeyCodec, Codec mapValueCodec, Codec valueCodec) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns class loader object used to load classes used in decoding processReturns object decoder used for hash map keys in HMAP Redis structureReturns object encoder used for hash map keys in HMAP Redis structureReturns object decoder used for hash map values in HMAP Redis structureReturns object encoder used for hash map values in HMAP Redis structureReturns object decoder used for any objects stored Redis structure except HMAPReturns object encoder used for any objects stored Redis structure except HMAPint
hashCode()
-
Constructor Details
-
CompositeCodec
-
CompositeCodec
-
CompositeCodec
public CompositeCodec(ClassLoader classLoader, CompositeCodec codec) throws ReflectiveOperationException - Throws:
ReflectiveOperationException
-
-
Method Details
-
getMapValueDecoder
Description copied from interface:Codec
Returns object decoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueDecoder
in interfaceCodec
- Returns:
- decoder
-
getMapValueEncoder
Description copied from interface:Codec
Returns object encoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueEncoder
in interfaceCodec
- Returns:
- encoder
-
getMapKeyDecoder
Description copied from interface:Codec
Returns object decoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyDecoder
in interfaceCodec
- Returns:
- decoder
-
getMapKeyEncoder
Description copied from interface:Codec
Returns object encoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyEncoder
in interfaceCodec
- Returns:
- encoder
-
getValueDecoder
Description copied from interface:Codec
Returns object decoder used for any objects stored Redis structure except HMAP- Specified by:
getValueDecoder
in interfaceCodec
- Returns:
- decoder
-
getValueEncoder
Description copied from interface:Codec
Returns object encoder used for any objects stored Redis structure except HMAP- Specified by:
getValueEncoder
in interfaceCodec
- 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
- Returns:
- class loader
-
hashCode
public int hashCode() -
equals
-