mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🎨 标记JedisLock组件为过期,不建议使用
This commit is contained in:
parent
0eb474d319
commit
59f871a3a1
@ -11,9 +11,11 @@ import redis.clients.jedis.util.Pool;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* JedisPool 分布式锁
|
* JedisPool 分布式锁
|
||||||
|
* @deprecated 不建议使用jedis-lock这个过期组件,不可靠
|
||||||
*
|
*
|
||||||
* @author <a href="https://github.com/007gzs">007</a>
|
* @author <a href="https://github.com/007gzs">007</a>
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public class JedisDistributedLock implements Lock {
|
public class JedisDistributedLock implements Lock {
|
||||||
private final Pool<Jedis> jedisPool;
|
private final Pool<Jedis> jedisPool;
|
||||||
private final JedisLock lock;
|
private final JedisLock lock;
|
||||||
|
Loading…
Reference in New Issue
Block a user