Liferay 6.0.5

com.liferay.portal.kernel.concurrent
Class LockRegistry

java.lang.Object
  extended by com.liferay.portal.kernel.concurrent.LockRegistry

public class LockRegistry
extends Object


Constructor Summary
LockRegistry()
           
 
Method Summary
static Lock allocateLock(String groupName, String key)
           
static void freeAllLock()
           
static void freeAllLock(boolean unlock)
           
static Map<String,Lock> freeLock(String groupName)
           
static Map<String,Lock> freeLock(String groupName, boolean unlock)
           
static Lock freeLock(String groupName, String key)
           
static Lock freeLock(String groupName, String key, boolean unlock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockRegistry

public LockRegistry()
Method Detail

allocateLock

public static Lock allocateLock(String groupName,
                                String key)

freeAllLock

public static void freeAllLock()

freeAllLock

public static void freeAllLock(boolean unlock)

freeLock

public static Map<String,Lock> freeLock(String groupName)

freeLock

public static Map<String,Lock> freeLock(String groupName,
                                        boolean unlock)

freeLock

public static Lock freeLock(String groupName,
                            String key)

freeLock

public static Lock freeLock(String groupName,
                            String key,
                            boolean unlock)

Liferay 6.0.5