Class CleanupScheduler

java.lang.Object
io.camunda.optimize.service.AbstractScheduledService
io.camunda.optimize.service.cleanup.CleanupScheduler
All Implemented Interfaces:
ConfigurationReloadable

@Component public class CleanupScheduler extends AbstractScheduledService implements ConfigurationReloadable
  • Constructor Details

  • Method Details

    • init

      @PostConstruct public void init()
    • startCleanupScheduling

      public void startCleanupScheduling()
    • stopCleanupScheduling

      @PreDestroy public void stopCleanupScheduling()
    • run

      public void run()
      Specified by:
      run in class AbstractScheduledService
    • createScheduleTrigger

      protected org.springframework.scheduling.support.CronTrigger createScheduleTrigger()
      Specified by:
      createScheduleTrigger in class AbstractScheduledService
    • runCleanup

      public void runCleanup()
    • getCleanupServices

      public List<CleanupService> getCleanupServices()
    • reloadConfiguration

      public void reloadConfiguration(org.springframework.context.ApplicationContext context)
      Specified by:
      reloadConfiguration in interface ConfigurationReloadable
    • getCleanupConfiguration

      protected CleanupConfiguration getCleanupConfiguration()