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 RedissonCodec
public byte[] encodeKey(Object key)
encodeKey
in interface RedissonCodec
public Object decodeKey(ByteBuffer bytes)
decodeKey
in interface RedissonCodec
public Object decodeValue(ByteBuffer bytes)
decodeValue
in interface RedissonCodec
public byte[] encodeMapValue(Object value)
encodeMapValue
in interface RedissonCodec
public byte[] encodeMapKey(Object key)
encodeMapKey
in interface RedissonCodec
public Object decodeMapValue(ByteBuffer bytes)
decodeMapValue
in interface RedissonCodec
public Object decodeMapKey(ByteBuffer bytes)
decodeMapKey
in interface RedissonCodec
Copyright © 2014. All rights reserved.