Class AbstractMaintenanceJobPerformable

java.lang.Object
de.hybris.platform.servicelayer.cronjob.AbstractJobPerformable<CronJobModel>
de.hybris.platform.jobs.AbstractMaintenanceJobPerformable
All Implemented Interfaces:
JobPerformable<CronJobModel>, TypeAwareJobPerformable
Direct Known Subclasses:
DynamicMaintenanceJobPerformable, GenericMaintenanceJobPerformable

public abstract class AbstractMaintenanceJobPerformable extends AbstractJobPerformable<CronJobModel> implements TypeAwareJobPerformable
Job Performable which executes a given MaintenanceCleanupStrategy. With the given Search result from MaintenanceCleanupStrategy.createFetchQuery(CronJobModel) the job pages throught the resultlist (list of PKs, small) and for each sublist (100 elements as default, modify with setPageSize(int)) the MaintenanceCleanupStrategy.process(List) is executed. If setAbortOnError(boolean) is set to true this performable will stop when during MaintenanceCleanupStrategy.process(List) an exception is thrown and the performable stops with an error/aborted. When set to false (default) the exception is just logged.