Liferay 7.0-ce-b4

com.liferay.portal.kernel.lock
Class LockProtectedAction<T>

java.lang.Object
  extended by com.liferay.portal.kernel.lock.LockProtectedAction<T>

public class LockProtectedAction<T>
extends Object


Constructor Summary
LockProtectedAction(Class<?> clazz, String lockKey, long timeout, long retryDelay)
           
 
Method Summary
 T getReturnValue()
           
 void performAction()
           
protected  T performProtectedAction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockProtectedAction

public LockProtectedAction(Class<?> clazz,
                           String lockKey,
                           long timeout,
                           long retryDelay)
Method Detail

getReturnValue

public T getReturnValue()

performAction

public void performAction()
                   throws PortalException
Throws:
PortalException

performProtectedAction

protected T performProtectedAction()
                            throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4