Class RetentionPolicy
- java.lang.Object
-
- app.coronawarn.server.services.download.runner.RetentionPolicy
-
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Component @Order(1) public class RetentionPolicy extends Object implements org.springframework.boot.ApplicationRunner
This runner removes any batch information from the database that were submitted before a configured threshold of days.
-
-
Constructor Summary
Constructors Constructor Description RetentionPolicy(FederationBatchInfoService federationBatchInfoService, DownloadServiceConfig downloadServiceConfig)
Creates a new RetentionPolicy.
-
-
-
Constructor Detail
-
RetentionPolicy
public RetentionPolicy(FederationBatchInfoService federationBatchInfoService, DownloadServiceConfig downloadServiceConfig)
Creates a new RetentionPolicy.
-
-