Package de.hybris.platform.cronjob.task
Class ExecuteCronJobTaskRunner
java.lang.Object
de.hybris.platform.cronjob.task.ExecuteCronJobTaskRunner
- All Implemented Interfaces:
TaskRunner<TaskModel>
Performs remote execution of a given CronJob as part of
CronJobService.performCronJob(CronJobModel)
when that CronJob was actually configured to run on another platform instance ( using node group or node id ).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(TaskService taskService, TaskModel task, Throwable error) voidrun(TaskService taskService, TaskModel task) voidsetCronJobService(CronJobService cronJobService) 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
-
Field Details
-
RUNNER_ID
-
-
Constructor Details
-
ExecuteCronJobTaskRunner
public ExecuteCronJobTaskRunner()
-
-
Method Details
-
run
- Specified by:
runin interfaceTaskRunner<TaskModel>- Throws:
RetryLaterException
-
handleError
- Specified by:
handleErrorin interfaceTaskRunner<TaskModel>
-
setCronJobService
-