Class Dispatcher
java.lang.Object
de.hybris.platform.processing.distributed.defaultimpl.Dispatcher
- All Implemented Interfaces:
TaskRunner<TaskModel>
-
Constructor Summary
ConstructorsConstructorDescriptionDispatcher(TransitionsHandler transitionsHandler, ExecutionHandler executionHandler, DistributedProcessLoggingCtxFactory distributedProcessLoggingCtxFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(TaskService taskService, TaskModel task, Throwable error) initLoggingCtx(TaskModel task) booleanvoidrun(TaskService taskService, TaskModel task) voidstopLoggingCtx(TaskLoggingCtx taskCtx)
-
Constructor Details
-
Dispatcher
public Dispatcher(TransitionsHandler transitionsHandler, ExecutionHandler executionHandler, DistributedProcessLoggingCtxFactory distributedProcessLoggingCtxFactory)
-
-
Method Details
-
run
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
handleError
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
isLoggingSupported
public boolean isLoggingSupported()- Specified by:
isLoggingSupportedin interfaceTaskRunner<TaskModel>
-
initLoggingCtx
- Specified by:
initLoggingCtxin interfaceTaskRunner<TaskModel>
-
stopLoggingCtx
- Specified by:
stopLoggingCtxin interfaceTaskRunner<TaskModel>
-