Class CollectionRunsCleaner
java.lang.Object
org.qubership.atp.itf.lite.backend.schedulers.CollectionRunsCleaner
-
Constructor Summary
ConstructorsConstructorDescriptionCollectionRunsCleaner(org.qubership.atp.common.lock.LockManager lockManager, CollectionRunService collectionRunService) -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform collection runs clean up.voidScheduled task to clean up collection run tables.
-
Constructor Details
-
CollectionRunsCleaner
public CollectionRunsCleaner(org.qubership.atp.common.lock.LockManager lockManager, CollectionRunService collectionRunService)
-
-
Method Details
-
collectionRunsCleanupWithLockManager
@Scheduled(cron="${atp.itf.lite.collection.runs.cron.expression}", zone="UTC") public void collectionRunsCleanupWithLockManager()Scheduled task to clean up collection run tables. -
cleanUpCollectionRuns
public void cleanUpCollectionRuns()Perform collection runs clean up.
-