KeyedLock.GlobalLockable<T>threadLocal| Constructor and Description |
|---|
GlobalLockable() |
GlobalLockable(boolean fair) |
| Modifier and Type | Method and Description |
|---|---|
void |
acquire(T key) |
Lock |
globalLock()
Returns a global lock guaranteeing exclusive access to the resource
this KeyedLock is guarding.
|
void |
release(T key) |
hasLockedKeysCopyright © 2009–2016. All rights reserved.