コード例 #1
0
 @PostConstruct
 void init() {
   List<Application> applications = applicationService.findValidateApplication();
   for (Application application : applications) {
     execute(application);
   }
 }
コード例 #2
0
 public List<UrlResponseTime> queryUrlResponseTimesFromCatch(String applicationId) {
   List<UrlResponseTime> urlResponseTimes = urlResponseTimeCache.get(applicationId);
   if (urlResponseTimes == null) {
     urlResponseTimes = queryUrlResponseTimes(applicationId);
     urlResponseTimeCache.put(applicationId, urlResponseTimes);
     execute(applicationService.findApplication(applicationId));
   }
   return urlResponseTimes;
 }