摘要:
存 List<TrackDot> list = new ArrayList<>(); list.add(trackDot); redisTemplate.opsForList().leftPushAll(key, list); 取 list = redisTemplate.opsForList(). 阅读全文
摘要:
/** * 删除指定前缀的key */ Set<String> keys = stringRedisTemplate.keys("bbs:*"); stringRedisTemplate.delete(keys); 阅读全文