public class RedisNotificationCodec extends java.lang.Object implements io.lettuce.core.codec.RedisCodec<java.lang.String,RedisNotification>
构造器和说明 |
---|
RedisNotificationCodec() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
decodeKey(java.nio.ByteBuffer bytes) |
RedisNotification |
decodeValue(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
encodeKey(java.lang.String key) |
java.nio.ByteBuffer |
encodeValue(RedisNotification notification) |
public java.lang.String decodeKey(java.nio.ByteBuffer bytes)
decodeKey
在接口中 io.lettuce.core.codec.RedisCodec<java.lang.String,RedisNotification>
public RedisNotification decodeValue(java.nio.ByteBuffer bytes)
decodeValue
在接口中 io.lettuce.core.codec.RedisCodec<java.lang.String,RedisNotification>
public java.nio.ByteBuffer encodeKey(java.lang.String key)
encodeKey
在接口中 io.lettuce.core.codec.RedisCodec<java.lang.String,RedisNotification>
public java.nio.ByteBuffer encodeValue(RedisNotification notification)
encodeValue
在接口中 io.lettuce.core.codec.RedisCodec<java.lang.String,RedisNotification>