T - V - public interface RedisListHandle<T extends com.iteaj.iot.Protocol,V> extends com.iteaj.iot.ProtocolHandle<T>, ListProducer<T>, ListConsumer<V>
ListOperationsIotRedis.RedisTemplateWrapper| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
consumer(List<V> vs)
注意:如果返回null则记录不会从redis删除
|
Object |
handle(T protocol)
redis 数据生产者
|
default org.springframework.data.redis.core.ListOperations |
operation() |
persistencegetKeygetKey, maxSizeblockInteger consumer(List<V> vs)
consumer 在接口中 ListConsumer<V>consumer 在接口中 RedisConsumer<V,Integer>vs - Object handle(T protocol)
RedisProducerhandle 在接口中 com.iteaj.iot.ProtocolHandle<T extends com.iteaj.iot.Protocol>handle 在接口中 RedisProducer<T extends com.iteaj.iot.Protocol>将由此方法消费default org.springframework.data.redis.core.ListOperations operation()
operation 在接口中 ListProducer<T extends com.iteaj.iot.Protocol>operation 在接口中 SimpleRedisProducer<T extends com.iteaj.iot.Protocol,org.springframework.data.redis.core.ListOperations>Copyright © 2023. All rights reserved.