Package de.hybris.platform.task.impl
Class SchedulerAuxiliaryTablesWatchdog
java.lang.Object
de.hybris.platform.task.impl.AuxiliaryTablesWatchdog
de.hybris.platform.task.impl.SchedulerAuxiliaryTablesWatchdog
- All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean
- Direct Known Subclasses:
TestSchedulerAuxiliaryTablesWatchdog
-
Field Summary
Fields inherited from class de.hybris.platform.task.impl.AuxiliaryTablesWatchdog
NO_OP -
Constructor Summary
ConstructorsConstructorDescriptionSchedulerAuxiliaryTablesWatchdog(String name, AuxiliaryTablesGatewayFactory gatewayFactory) Creates a new watchdog instance with a specified name -
Method Summary
Modifier and TypeMethodDescriptionbooleancanRunWatchdog(RuntimeConfigHolder runtimeConfigHolder) Determines whether the watchdog can be runprotected AuxiliaryTablesWatchdogTaskcreateTask(RuntimeConfigHolder runtimeConfigHolder, TaskEngineParameters taskEngineParameters) Creates watchdog task based on runtime configurationMethods inherited from class de.hybris.platform.task.impl.AuxiliaryTablesWatchdog
destroy, getName, startWatchdog
-
Constructor Details
-
SchedulerAuxiliaryTablesWatchdog
Creates a new watchdog instance with a specified name- Parameters:
name- used to identify the thread created by the thread watchdog factory
-
-
Method Details
-
createTask
protected AuxiliaryTablesWatchdogTask createTask(RuntimeConfigHolder runtimeConfigHolder, TaskEngineParameters taskEngineParameters) Description copied from class:AuxiliaryTablesWatchdogCreates watchdog task based on runtime configuration- Specified by:
createTaskin classAuxiliaryTablesWatchdog- Parameters:
runtimeConfigHolder- runtime configuration providertaskEngineParameters- runtime parameters- Returns:
- watchdog task
-
canRunWatchdog
Description copied from class:AuxiliaryTablesWatchdogDetermines whether the watchdog can be run- Specified by:
canRunWatchdogin classAuxiliaryTablesWatchdog- Parameters:
runtimeConfigHolder- runtime configuration provider- Returns:
trueif watchdog can be run
-
getGatewayFactory
-