| | |
| | | import com.iailab.module.data.point.collection.PointCollector; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.time.LocalDateTime; |
| | |
| | | */ |
| | | @Component("pointCollectTaskNet60") |
| | | public class PointCollectTaskNet60 implements ITask { |
| | | private Logger logger = LoggerFactory.getLogger(getClass()); |
| | | private final Logger logger = LoggerFactory.getLogger(getClass()); |
| | | |
| | | private final String NET = "NET60"; |
| | | private static final String NET = "1min"; |
| | | |
| | | @Resource |
| | | private PointCollector pointCollector; |
| | | |
| | | @Override |
| | | public void run(String params){ |
| | | public void run(String params) { |
| | | // 0 0/1 * * * ? |
| | | logger.debug("CollectTaskNet60定时任务正在执行,参数为:{}", params); |
| | | try { |