public class DefaultKeyLockProvider extends java.lang.Object implements KeyLockProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_EXPONENT_OF_LOCKS |
| Constructor and Description |
|---|
DefaultKeyLockProvider() |
DefaultKeyLockProvider(int exponentOfLocks) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.locks.ReadWriteLock |
getLockForKey(java.lang.Object key) |
public static final int DEFAULT_EXPONENT_OF_LOCKS
public DefaultKeyLockProvider()
public DefaultKeyLockProvider(int exponentOfLocks)
public java.util.concurrent.locks.ReadWriteLock getLockForKey(java.lang.Object key)
getLockForKey in interface KeyLockProviderCopyright © 2021. All Rights Reserved.