Class RetentionPolicy
- java.lang.Object
-
- app.coronawarn.server.services.distribution.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 diagnosis keys from the database that were submitted before a configured threshold of days.
-
-
Constructor Summary
Constructors Constructor Description RetentionPolicy(DiagnosisKeyService diagnosisKeyService, org.springframework.context.ApplicationContext applicationContext, DistributionServiceConfig distributionServiceConfig, S3RetentionPolicy s3RetentionPolicy)
Creates a new RetentionPolicy.
-
-
-
Constructor Detail
-
RetentionPolicy
public RetentionPolicy(DiagnosisKeyService diagnosisKeyService, org.springframework.context.ApplicationContext applicationContext, DistributionServiceConfig distributionServiceConfig, S3RetentionPolicy s3RetentionPolicy)
Creates a new RetentionPolicy.
-
-