Modifier and Type | Class and Description |
---|---|
class |
KryoCodec.RedissonKryoCodecException |
SKIPPED_CODECS
Constructor and Description |
---|
KryoCodec() |
KryoCodec(ClassLoader classLoader) |
KryoCodec(ClassLoader classLoader,
KryoCodec codec) |
KryoCodec(List<Class<?>> classes) |
KryoCodec(List<Class<?>> classes,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
protected com.esotericsoftware.kryo.Kryo |
createInstance(List<Class<?>> classes,
ClassLoader classLoader)
Sub classes can customize the Kryo instance by overriding this method
|
com.esotericsoftware.kryo.Kryo |
get() |
ClassLoader |
getClassLoader()
Returns class loader object used to load classes used in decoding process
|
Decoder<Object> |
getValueDecoder()
Returns object decoder used for any objects stored Redis structure except HMAP
|
Encoder |
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAP
|
void |
yield(com.esotericsoftware.kryo.Kryo kryo) |
copy, getMapKeyDecoder, getMapKeyEncoder, getMapValueDecoder, getMapValueEncoder, toString
public KryoCodec()
public KryoCodec(ClassLoader classLoader)
public KryoCodec(ClassLoader classLoader, KryoCodec codec)
public KryoCodec(List<Class<?>> classes, ClassLoader classLoader)
public com.esotericsoftware.kryo.Kryo get()
public void yield(com.esotericsoftware.kryo.Kryo kryo)
protected com.esotericsoftware.kryo.Kryo createInstance(List<Class<?>> classes, ClassLoader classLoader)
public Decoder<Object> getValueDecoder()
Codec
public Encoder getValueEncoder()
Codec
public ClassLoader getClassLoader()
Codec
getClassLoader
in interface Codec
getClassLoader
in class BaseCodec
Copyright © 2014–2020 Redisson. All rights reserved.