类 ProtostuffCodec<K,V>
- java.lang.Object
-
- cn.sliew.milky.cache.lettuce.ProtostuffCodec<K,V>
-
- 所有已实现的接口:
io.lettuce.core.codec.RedisCodec<K,V>
public class ProtostuffCodec<K,V> extends Object implements io.lettuce.core.codec.RedisCodec<K,V>
-
-
字段概要
字段 修饰符和类型 字段 说明 static ProtostuffCodecINSTANCE
-
构造器概要
构造器 构造器 说明 ProtostuffCodec()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 KdecodeKey(ByteBuffer byteBuffer)VdecodeValue(ByteBuffer byteBuffer)ByteBufferencodeKey(K k)ByteBufferencodeValue(V v)
-
-
-
字段详细资料
-
INSTANCE
public static final ProtostuffCodec INSTANCE
-
-
方法详细资料
-
decodeKey
public K decodeKey(ByteBuffer byteBuffer)
-
decodeValue
public V decodeValue(ByteBuffer byteBuffer)
-
encodeKey
public ByteBuffer encodeKey(K k)
-
encodeValue
public ByteBuffer encodeValue(V v)
-
-