![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
分布式锁
回忆是昨天里的海
我若不动,风又奈何。
展开
-
redis分布式锁jedis--lua锁的使用
依赖 <!-- Redis客户端 start --> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>2.9.0</version> </dependency原创 2021-07-09 15:52:25 · 602 阅读 · 0 评论 -
Redisson分布式锁简单记录使用
/** * 根据推广员ID刷新对应的二维码 * * @param id * @return */ @SuppressWarnings({"CatchMayIgnoreException", "StatementWithEmptyBody", "PlaceholderCountMatchesArgumentCount"}) @Override public QrCodeVO refreshQrCode(Long id) { ..原创 2021-05-25 14:48:58 · 334 阅读 · 0 评论