org.springframework.data.redis.core.StringRedisTemplate获取pfcount的值
org.springframework.data.redis.core.StringRedisTemplate获取pfcount的值//如果就用普通的get来获取value拿到的是一个乱码,所有我们要用opsForHyperLogLog().size()来获取主要它返回的是一个Long型的数字//String total_uv=stringRedisTemplate.opsForValue().get("accesslog_analysis_total_uv");Long total_uv=stri
原创
2020-07-19 19:47:49 ·
529 阅读 ·
0 评论