public class StringCodec extends Object implements RedissonCodec
| Constructor and Description |
|---|
StringCodec() |
| 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 Object decodeKey(ByteBuffer bytes)
decodeKey in interface RedissonCodecpublic Object decodeValue(ByteBuffer bytes)
decodeValue in interface RedissonCodecpublic byte[] encodeKey(Object key)
encodeKey in interface RedissonCodecpublic byte[] encodeValue(Object value)
encodeValue 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.