Package de.hybris.platform.task.runner
Class LatchTaskRunner
java.lang.Object
de.hybris.platform.task.runner.LatchTaskRunner
- All Implemented Interfaces:
TaskRunner<TaskModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(TaskService service, TaskModel task, Throwable fault) voidrun(TaskService service, TaskModel task) voidsetLatch(CountDownLatch latch) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.task.TaskRunner
initLoggingCtx, isLoggingSupported, stopLoggingCtx
-
Constructor Details
-
LatchTaskRunner
public LatchTaskRunner()
-
-
Method Details
-
handleError
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
run
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
setLatch
-