摘要: //作为普通锁 public boolean setNX(String key, String value) { return (Boolean) redisTemplate.execute((RedisCallback) connection → { Boolean acquire = conne 阅读全文
posted @ 2020-12-29 09:46 DiligentCoder 阅读(863) 评论(0) 推荐(0) 编辑