Class AggregateRecoImpressionsJob
- java.lang.Object
-
- de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable<CronJobModel>
-
- com.hybris.ymkt.recommendation.cronjobs.AggregateRecoImpressionsJob
-
- All Implemented Interfaces:
JobPerformable<CronJobModel>
public class AggregateRecoImpressionsJob extends AbstractJobPerformable<CronJobModel>
-
-
Field Summary
Fields Modifier and Type Field Description protected ImpressionServiceimpressionService-
Fields inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
flexibleSearchService, modelService, sessionService
-
-
Constructor Summary
Constructors Constructor Description AggregateRecoImpressionsJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PerformResultperform(CronJobModel cronJobModel)The execution body for aServicelayerJob.voidsetImpressionService(ImpressionService impressionService)-
Methods inherited from class de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable
clearAbortRequestedIfNeeded, isAbortable, isPerformable, setFlexibleSearchService, setModelService, setSessionService
-
-
-
-
Field Detail
-
impressionService
protected ImpressionService impressionService
-
-
Method Detail
-
perform
public PerformResult perform(CronJobModel cronJobModel)
Description copied from interface:JobPerformableThe execution body for aServicelayerJob. Implement here your execution logic. It can be called synchronous or asynchronous. So be aware of thread-safety. Method will return a result object saying if the execution has reached end and if it was successful.- Specified by:
performin interfaceJobPerformable<CronJobModel>- Specified by:
performin classAbstractJobPerformable<CronJobModel>- Parameters:
cronJobModel- the related CronJob in whose context the execution will be performed.- Returns:
- a
PerformResultthat indicates whether theexecutionwas successfully executed or not and has finished or not.
-
setImpressionService
public void setImpressionService(ImpressionService impressionService)
-
-