| Constructor and Description |
|---|
RedisLock(org.redisson.api.RedissonClient redisson,
String lockName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLimiterName()
该限制器的名字 方便定位哪一个限制器被应用
|
boolean |
lock(Object key) |
void |
unlock(Object key) |
public RedisLock(org.redisson.api.RedissonClient redisson,
String lockName)
Copyright © 2022. All rights reserved.