@Test public void test_expirePointTask() { this.expirePointTask.expirePointTask(); }
@Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) public void expirePointTask() { log.debug(">>"); List<String> tables = this.pointTableDs.listTable(); tables.forEach(t -> { String type = t.replaceFirst(HyenaConstants.PREFIX_POINT_TABLE_NAME, ""); this.expirePointByType(type); }); log.debug("<<"); }
ExpirePointTask { @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) public void expirePointTask() { log.debug(">>"); List<String> tables = this.pointTableDs.listTable(); tables.forEach(t -> { String type = t.replaceFirst(HyenaConstants.PREFIX_POINT_TABLE_NAME, ""); this.expirePointByType(type); }); log.debug("<<"); } }
ExpirePointTask { @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) public void expirePointTask() { log.debug(">>"); List<String> tables = this.pointTableDs.listTable(); tables.forEach(t -> { String type = t.replaceFirst(HyenaConstants.PREFIX_POINT_TABLE_NAME, ""); this.expirePointByType(type); }); log.debug("<<"); }  }
ExpirePointTask { @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) public void expirePointTask() { log.debug(">>"); List<String> tables = this.pointTableDs.listTable(); tables.forEach(t -> { String type = t.replaceFirst(HyenaConstants.PREFIX_POINT_TABLE_NAME, ""); this.expirePointByType(type); }); log.debug("<<"); }  @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) // every 1 hour void expirePointTask(); }
ExpirePointTask { @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) public void expirePointTask() { log.debug(">>"); List<String> tables = this.pointTableDs.listTable(); tables.forEach(t -> { String type = t.replaceFirst(HyenaConstants.PREFIX_POINT_TABLE_NAME, ""); this.expirePointByType(type); }); log.debug("<<"); }  @Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30 * 1000) // every 1 hour void expirePointTask();  }