Package org.redisson.codec
Class BaseEventCodec
java.lang.Object
org.redisson.codec.BaseEventCodec
- All Implemented Interfaces:
Codec
- Direct Known Subclasses:
JCacheEventCodec
,MapCacheEventCodec
- Author:
- Nikita Koksharov
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
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 encoder used for any objects stored Redis structure except HMAPMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.redisson.client.codec.Codec
getValueDecoder
-
Field Details
-
codec
-
osType
-
-
Constructor Details
-
BaseEventCodec
-
-
Method Details
-
decode
protected Object decode(io.netty.buffer.ByteBuf buf, State state, Decoder<?> decoder) throws IOException - Throws:
IOException
-
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
-
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
-