Class EnvironmentTimestampCollector


  • @Component
    public class EnvironmentTimestampCollector
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      EnvironmentTimestampCollector​(EnvironmentTimestampModel environmentTimestampModel, org.springframework.web.client.RestTemplate restTemplate, ch.mobi.mobitor.service.EnvironmentsConfigurationService environmentsConfigurationService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collectDb2Timestamp()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EnvironmentTimestampCollector

        @Autowired
        public EnvironmentTimestampCollector​(EnvironmentTimestampModel environmentTimestampModel,
                                             org.springframework.web.client.RestTemplate restTemplate,
                                             ch.mobi.mobitor.service.EnvironmentsConfigurationService environmentsConfigurationService)
    • Method Detail

      • collectDb2Timestamp

        @Scheduled(fixedDelayString="${scheduling.pollingIntervalMs.environmentTimestampInterval}",
                   initialDelayString="${scheduling.pollingInitialDelayMs.second}")
        public void collectDb2Timestamp()