Package org.redisson.client.codec
Class BaseCodec
- java.lang.Object
-
- org.redisson.client.codec.BaseCodec
-
- All Implemented Interfaces:
Codec
- Direct Known Subclasses:
ByteArrayCodec,FstCodec,JsonJacksonCodec,Kryo5Codec,KryoCodec,LocalCachedMessageCodec,LZ4Codec,MarshallingCodec,REntity.DEFAULT,RObjectField.DEFAULT,SerializationCodec,SnappyCodec,SnappyCodecV2,StringCodec
public abstract class BaseCodec extends Object implements Codec
- Author:
- Nikita Koksharov
-
-
Field Summary
Fields Modifier and Type Field Description static List<Class<?>>SKIPPED_CODECS
-
Constructor Summary
Constructors Constructor Description BaseCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Codeccopy(ClassLoader classLoader, Codec codec)ClassLoadergetClassLoader()Returns class loader object used to load classes used in decoding processDecoder<Object>getMapKeyDecoder()Returns object decoder used for hash map keys in HMAP Redis structureEncodergetMapKeyEncoder()Returns object encoder used for hash map keys in HMAP Redis structureDecoder<Object>getMapValueDecoder()Returns object decoder used for hash map values in HMAP Redis structureEncodergetMapValueEncoder()Returns object encoder used for hash map values in HMAP Redis structureStringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.redisson.client.codec.Codec
getValueDecoder, getValueEncoder
-
-
-
-
Method Detail
-
copy
public static Codec copy(ClassLoader classLoader, Codec codec) throws ReflectiveOperationException
- Throws:
ReflectiveOperationException
-
getMapValueDecoder
public Decoder<Object> getMapValueDecoder()
Description copied from interface:CodecReturns object decoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueDecoderin interfaceCodec- Returns:
- decoder
-
getMapValueEncoder
public Encoder getMapValueEncoder()
Description copied from interface:CodecReturns object encoder used for hash map values in HMAP Redis structure- Specified by:
getMapValueEncoderin interfaceCodec- Returns:
- encoder
-
getMapKeyDecoder
public Decoder<Object> getMapKeyDecoder()
Description copied from interface:CodecReturns object decoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyDecoderin interfaceCodec- Returns:
- decoder
-
getMapKeyEncoder
public Encoder getMapKeyEncoder()
Description copied from interface:CodecReturns object encoder used for hash map keys in HMAP Redis structure- Specified by:
getMapKeyEncoderin interfaceCodec- Returns:
- encoder
-
getClassLoader
public ClassLoader getClassLoader()
Description copied from interface:CodecReturns class loader object used to load classes used in decoding process- Specified by:
getClassLoaderin interfaceCodec- Returns:
- class loader
-
-