Liferay 6.2-ce-ga5

com.liferay.portal.kernel.backgroundtask
Class SerialBackgroundTaskExecutor

java.lang.Object
  extended by com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor
      extended by com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor
All Implemented Interfaces:
BackgroundTaskExecutor

public class SerialBackgroundTaskExecutor
extends DelegatingBackgroundTaskExecutor


Constructor Summary
SerialBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
           
 
Method Summary
protected  Lock acquireLock(BackgroundTask backgroundTask, String owner)
           
 BackgroundTaskResult execute(BackgroundTask backgroundTask)
           
 
Methods inherited from class com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor
getBackgroundTaskExecutor, getBackgroundTaskStatusMessageTranslator, handleException, isSerial
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialBackgroundTaskExecutor

public SerialBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
Method Detail

execute

public BackgroundTaskResult execute(BackgroundTask backgroundTask)
                             throws Exception
Specified by:
execute in interface BackgroundTaskExecutor
Overrides:
execute in class DelegatingBackgroundTaskExecutor
Throws:
Exception

acquireLock

protected Lock acquireLock(BackgroundTask backgroundTask,
                           String owner)
                    throws DuplicateLockException
Throws:
DuplicateLockException

Liferay 6.2-ce-ga5