Class HistoryCleanupBatchjob

java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.persist.history.impl.HistoryCleanupBatchjob
All Implemented Interfaces:
org.quartz.Job

@DisallowConcurrentExecution public class HistoryCleanupBatchjob extends AbstractJob
  • Constructor Details

    • HistoryCleanupBatchjob

      public HistoryCleanupBatchjob(HistoryDataStore dataStore)
  • Method Details

    • setMaximumAge

      @Value("${nice2.persist.history.maximumAge}") public void setMaximumAge(long maximumAge)
    • doExecute

      protected void doExecute(org.quartz.JobExecutionContext context, JobDataMapReader jobDataMapReader)
      Specified by:
      doExecute in class AbstractJob