Class ProtostuffCodec<K,​V>

  • All Implemented Interfaces:
    io.lettuce.core.codec.RedisCodec<K,​V>

    public class ProtostuffCodec<K,​V>
    extends Object
    implements io.lettuce.core.codec.RedisCodec<K,​V>
    • Constructor Detail

      • ProtostuffCodec

        public ProtostuffCodec()
    • Method Detail

      • decodeKey

        public K decodeKey​(ByteBuffer byteBuffer)
        Specified by:
        decodeKey in interface io.lettuce.core.codec.RedisCodec<K,​V>
      • decodeValue

        public V decodeValue​(ByteBuffer byteBuffer)
        Specified by:
        decodeValue in interface io.lettuce.core.codec.RedisCodec<K,​V>
      • encodeKey

        public ByteBuffer encodeKey​(K k)
        Specified by:
        encodeKey in interface io.lettuce.core.codec.RedisCodec<K,​V>
      • encodeValue

        public ByteBuffer encodeValue​(V v)
        Specified by:
        encodeValue in interface io.lettuce.core.codec.RedisCodec<K,​V>