public class KryoCodec extends Object implements RedissonCodec
| Modifier and Type | Class and Description |
|---|---|
static interface |
KryoCodec.KryoPool |
static class |
KryoCodec.KryoPoolImpl |
class |
KryoCodec.RedissonKryoCodecException |
| Constructor and Description |
|---|
KryoCodec() |
KryoCodec(KryoCodec.KryoPool kryoPool) |
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeKey(ByteBuffer bytes) |
Object |
decodeMapKey(ByteBuffer bytes) |
Object |
decodeMapValue(ByteBuffer bytes) |
Object |
decodeValue(ByteBuffer bytes) |
byte[] |
encodeKey(Object key) |
byte[] |
encodeMapKey(Object key) |
byte[] |
encodeMapValue(Object value) |
byte[] |
encodeValue(Object value) |
public KryoCodec()
public KryoCodec(KryoCodec.KryoPool kryoPool)
public byte[] encodeValue(Object value)
encodeValue in interface RedissonCodecpublic byte[] encodeKey(Object key)
encodeKey in interface RedissonCodecpublic Object decodeKey(ByteBuffer bytes)
decodeKey in interface RedissonCodecpublic Object decodeValue(ByteBuffer bytes)
decodeValue in interface RedissonCodecpublic byte[] encodeMapValue(Object value)
encodeMapValue in interface RedissonCodecpublic byte[] encodeMapKey(Object key)
encodeMapKey in interface RedissonCodecpublic Object decodeMapValue(ByteBuffer bytes)
decodeMapValue in interface RedissonCodecpublic Object decodeMapKey(ByteBuffer bytes)
decodeMapKey in interface RedissonCodecCopyright © 2014–2015. All rights reserved.