| Constructor and Description |
|---|
JdkLock(String lockName) |
JdkLock(String lockName,
int initialCapacity,
float loadFactor,
int concurrencyLevel) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLimiterName()
该限制器的名字 方便定位哪一个限制器被应用
|
boolean |
lock(Object key) |
void |
unlock(Object key) |
Copyright © 2021. All rights reserved.