Package de.hybris.platform.task.impl
package de.hybris.platform.task.impl
-
ClassDescriptionThis class adjusts the number of items that should be provided by a delegated tasks provider.Manages executor service, that allows to run only one watchdog task at the moment.Task to be run by the watchdogDefault implementation of the
TaskServiceinterface.Integration test forDefaultTaskServiceDetermines whether the poll method is working correctly, depending on the scheduling state of the repoll task.Strategy to encapsulate the complexity of scheduling new tasks while others may trigger events at the same time.Integration tests forSchedulerAuxiliaryTablesWatchdogTaskIntegration tests forSchedulerAuxiliaryTablesWatchdogChecks how much time the scheduler operation takes and warns if the operation is longer than the scheduler intervalUnit test forSchedulerOperationTimeoutLoggerClass is responsible for handling additional logic around StrandedItemsRegistryImplementation of StrandedItemsResolutionHandler adjusted to handle stranded tasks intercepted from DefaultTaskServiceIntegration tests for task scriptingTest watchdog that spies on the watchdog task.Strategy for executing the TriggerTasks, needed to avoid having the runner executed in transaction, otherwise there are problems especially in case of executing jobs initiated by trigger without any cronjob aasigned (the internally created cronjob is not visible when it comes to asynchronous execution).