public class DelegatingBackgroundTaskExecutor extends Object implements BackgroundTaskExecutor
Constructor and Description |
---|
DelegatingBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor) |
Modifier and Type | Method and Description |
---|---|
BackgroundTaskExecutor |
clone() |
BackgroundTaskResult |
execute(BackgroundTask backgroundTask) |
String |
generateLockKey(BackgroundTask backgroundTask) |
BackgroundTaskDisplay |
getBackgroundTaskDisplay(BackgroundTask backgroundTask) |
protected BackgroundTaskExecutor |
getBackgroundTaskExecutor() |
BackgroundTaskStatusMessageTranslator |
getBackgroundTaskStatusMessageTranslator() |
int |
getIsolationLevel() |
String |
handleException(BackgroundTask backgroundTask,
Exception e) |
boolean |
isSerial() |
public DelegatingBackgroundTaskExecutor(BackgroundTaskExecutor backgroundTaskExecutor)
public BackgroundTaskExecutor clone()
clone
in interface BackgroundTaskExecutor
clone
in class Object
public BackgroundTaskResult execute(BackgroundTask backgroundTask) throws Exception
execute
in interface BackgroundTaskExecutor
Exception
public String generateLockKey(BackgroundTask backgroundTask)
generateLockKey
in interface BackgroundTaskExecutor
public BackgroundTaskDisplay getBackgroundTaskDisplay(BackgroundTask backgroundTask)
getBackgroundTaskDisplay
in interface BackgroundTaskExecutor
public BackgroundTaskStatusMessageTranslator getBackgroundTaskStatusMessageTranslator()
getBackgroundTaskStatusMessageTranslator
in interface BackgroundTaskExecutor
public int getIsolationLevel()
getIsolationLevel
in interface BackgroundTaskExecutor
public String handleException(BackgroundTask backgroundTask, Exception e)
handleException
in interface BackgroundTaskExecutor
public boolean isSerial()
isSerial
in interface BackgroundTaskExecutor
protected BackgroundTaskExecutor getBackgroundTaskExecutor()