Package de.hybris.platform.task
Class TaskRetryTest.RetrySameTimeTaskRunner
- java.lang.Object
-
- de.hybris.platform.task.TaskRetryTest.RetrySameTimeTaskRunner
-
- All Implemented Interfaces:
TaskRunner<ScriptingTaskModel>
- Enclosing class:
- TaskRetryTest
public static final class TaskRetryTest.RetrySameTimeTaskRunner extends java.lang.Object implements TaskRunner<ScriptingTaskModel>
-
-
Constructor Summary
Constructors Constructor Description RetrySameTimeTaskRunner(long time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleError(TaskService taskService, ScriptingTaskModel task, java.lang.Throwable error)voidrun(TaskService taskService, ScriptingTaskModel task)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
-
-
-
Method Detail
-
run
public void run(TaskService taskService, ScriptingTaskModel task) throws RetryLaterException
- Specified by:
runin interfaceTaskRunner<ScriptingTaskModel>- Throws:
RetryLaterException
-
handleError
public void handleError(TaskService taskService, ScriptingTaskModel task, java.lang.Throwable error)
- Specified by:
handleErrorin interfaceTaskRunner<ScriptingTaskModel>
-
-