Package org.qubership.atp.dataset.db.jpa
Class JobRunner
java.lang.Object
org.qubership.atp.dataset.db.jpa.JobRunner
-
Constructor Summary
ConstructorsConstructorDescriptionJobRunner(JaversSnapshotService javersSnapshotService, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor archiveJobExecutor) -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Job that removes irrelevant data from the change history.
-
Constructor Details
-
JobRunner
@Autowired public JobRunner(JaversSnapshotService javersSnapshotService, org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor archiveJobExecutor)
-
-
Method Details
-
run
@Scheduled(cron="${atp-dataset.archive.cron.expression}", zone="UTC") public void run()Job that removes irrelevant data from the change history.
-