public abstract class BaseBackgroundTaskExecutor extends Object implements BackgroundTaskExecutor
Constructor and Description |
---|
BaseBackgroundTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
abstract BackgroundTaskExecutor |
clone() |
String |
generateLockKey(BackgroundTask backgroundTask) |
BackgroundTaskStatusMessageTranslator |
getBackgroundTaskStatusMessageTranslator() |
int |
getIsolationLevel() |
protected Locale |
getLocale(BackgroundTask backgroundTask) |
String |
handleException(BackgroundTask backgroundTask,
Exception e) |
boolean |
isSerial() |
protected void |
setBackgroundTaskStatusMessageTranslator(BackgroundTaskStatusMessageTranslator backgroundTaskStatusMessageTranslator) |
protected void |
setIsolationLevel(int isolationLevel) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getBackgroundTaskDisplay
public abstract BackgroundTaskExecutor clone()
clone
in interface BackgroundTaskExecutor
clone
in class Object
public String generateLockKey(BackgroundTask backgroundTask)
generateLockKey
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 Locale getLocale(BackgroundTask backgroundTask)
protected void setBackgroundTaskStatusMessageTranslator(BackgroundTaskStatusMessageTranslator backgroundTaskStatusMessageTranslator)
protected void setIsolationLevel(int isolationLevel)