L - the lock class. It's left open so that any Lock,
Semaphore or ReadWriteLock
implementation can be used.public interface KeyBasedLockFactory<L>
| Modifier and Type | Method and Description |
|---|---|
L |
getLock(Object key)
Returns a lock for the specified key.
|
L getLock(Object key)
key - the key associated with the lockCopyright © 2021 CrafterCMS. All rights reserved.