com.liferay.portal.kernel.backgroundtask
Class SerialBackgroundTaskExecutor
java.lang.Object
com.liferay.portal.kernel.backgroundtask.DelegatingBackgroundTaskExecutor
com.liferay.portal.kernel.backgroundtask.SerialBackgroundTaskExecutor
- All Implemented Interfaces:
- BackgroundTaskExecutor
public class SerialBackgroundTaskExecutor
- extends DelegatingBackgroundTaskExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialBackgroundTaskExecutor
public SerialBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
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