Class CleanupSavedValuesStrategy

java.lang.Object
de.hybris.platform.jobs.maintenance.impl.CleanupSavedValuesStrategy
All Implemented Interfaces:
MaintenanceCleanupStrategy<ItemModel,CronJobModel>

public class CleanupSavedValuesStrategy extends Object implements MaintenanceCleanupStrategy<ItemModel,CronJobModel>
This implementation if the MaintenanceCleanupStrategy removes all old SavedValuesModels for any ItemModel which are *over* the given threshold.

If a model has 30 saved values and the threshold is set to 20 - the twentieth oldest entries are removed.