public abstract class BaseEventCodec extends Object implements Codec
Modifier and Type | Class and Description |
---|---|
static class |
BaseEventCodec.OSType |
Modifier and Type | Field and Description |
---|---|
protected Codec |
codec |
protected BaseEventCodec.OSType |
osType |
Constructor and Description |
---|
BaseEventCodec(Codec codec,
BaseEventCodec.OSType osType) |
Modifier and Type | Method and Description |
---|---|
protected Object |
decode(io.netty.buffer.ByteBuf buf,
State state,
Decoder<?> decoder) |
ClassLoader |
getClassLoader()
Returns class loader object used to load classes used in decoding process
|
Decoder<Object> |
getMapKeyDecoder()
Returns object decoder used for hash map keys in HMAP Redis structure
|
Encoder |
getMapKeyEncoder()
Returns object encoder used for hash map keys in HMAP Redis structure
|
Decoder<Object> |
getMapValueDecoder()
Returns object decoder used for hash map values in HMAP Redis structure
|
Encoder |
getMapValueEncoder()
Returns object encoder used for hash map values in HMAP Redis structure
|
Encoder |
getValueEncoder()
Returns object encoder used for any objects stored Redis structure except HMAP
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getValueDecoder
protected final Codec codec
protected final BaseEventCodec.OSType osType
public BaseEventCodec(Codec codec, BaseEventCodec.OSType osType)
protected Object decode(io.netty.buffer.ByteBuf buf, State state, Decoder<?> decoder) throws IOException
IOException
public Decoder<Object> getMapValueDecoder()
Codec
getMapValueDecoder
in interface Codec
public Encoder getMapValueEncoder()
Codec
getMapValueEncoder
in interface Codec
public Decoder<Object> getMapKeyDecoder()
Codec
getMapKeyDecoder
in interface Codec
public Encoder getMapKeyEncoder()
Codec
getMapKeyEncoder
in interface Codec
public Encoder getValueEncoder()
Codec
getValueEncoder
in interface Codec
public ClassLoader getClassLoader()
Codec
getClassLoader
in interface Codec
Copyright © 2014–2020 Redisson. All rights reserved.