@Deprecated
public class LockRegistry
extends Object
Constructor and Description |
---|
LockRegistry()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ReentrantLock |
allocateLock(String groupName,
String key)
Deprecated.
|
static ReentrantLock |
finallyFreeLock(String groupName,
String key,
boolean unlock)
Deprecated.
|
static void |
freeAllLock()
Deprecated.
|
static void |
freeAllLock(boolean unlock)
Deprecated.
|
static Map<String,ReentrantLock> |
freeLock(String groupName)
Deprecated.
|
static Map<String,ReentrantLock> |
freeLock(String groupName,
boolean unlock)
Deprecated.
|
static ReentrantLock |
freeLock(String groupName,
String key)
Deprecated.
|
static ReentrantLock |
freeLock(String groupName,
String key,
boolean unlock)
Deprecated.
|
static ReentrantLock |
getLock(String groupName,
String key)
Deprecated.
|
public static ReentrantLock allocateLock(String groupName, String key)
public static ReentrantLock finallyFreeLock(String groupName, String key, boolean unlock)
public static void freeAllLock()
public static void freeAllLock(boolean unlock)
public static Map<String,ReentrantLock> freeLock(String groupName)
public static Map<String,ReentrantLock> freeLock(String groupName, boolean unlock)
public static ReentrantLock freeLock(String groupName, String key)
public static ReentrantLock freeLock(String groupName, String key, boolean unlock)
public static ReentrantLock getLock(String groupName, String key)