摘要: RLock lock = redissonClient.getLock(LOCK_KEY); try { if (!lock.tryLock(Constants.TEN, TimeUnit.SECONDS)) { throw new BusinessException("访问频繁请稍后再试"); } 阅读全文
posted @ 2021-05-17 11:02 梦见舟 阅读(4223) 评论(0) 推荐(0) 编辑