关于 Redis incr 的一个问题
2025年7月30日
没有评论
前一段时间有一个需求,需要计数,理所当地的使用了 redis 的 incr 方法。代码大概如下:
@Scheduled(cron = "0 0/10 * * * ?") public void test() { long yellow[......]
前一段时间有一个需求,需要计数,理所当地的使用了 redis 的 incr 方法。代码大概如下:
@Scheduled(cron = "0 0/10 * * * ?") public void test() { long yellow[......]
近期评论