- All Implemented Interfaces:
Limiter<Lock>
public class RedisLock
extends Lock
- Since:
- Java 17+
- Version:
- 6.5.0
- Author:
- Kimi Liu
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class org.aoju.bus.limiter.support.lock.Lock
limit, release
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RedisLock
public RedisLock(org.redisson.api.RedissonClient redisson,
String lockName)
-
Method Details
-
-
-
getLimiterName
public String getLimiterName()
Description copied from interface: Limiter
该限制器的名字 方便定位哪一个限制器被应用
- Returns:
- the string