Class 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.
    • Method Detail

      • run

        public void run​(org.springframework.boot.ApplicationArguments args)
        Specified by:
        run in interface org.springframework.boot.ApplicationRunner