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 ImpressionService
impressionService
-
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 PerformResult
perform(CronJobModel cronJobModel)
The execution body for aServicelayerJob
.void
setImpressionService(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:JobPerformable
The 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:
perform
in interfaceJobPerformable<CronJobModel>
- Specified by:
perform
in classAbstractJobPerformable<CronJobModel>
- Parameters:
cronJobModel
- the related CronJob in whose context the execution will be performed.- Returns:
- a
PerformResult
that indicates whether theexecution
was successfully executed or not and has finished or not.
-
setImpressionService
public void setImpressionService(ImpressionService impressionService)
-
-