com.jquicker.timer.ConfigTask Maven / Gradle / Ivy
package com.jquicker.timer;
import com.jquicker.commons.log.JLogger;
public class ConfigTask {
private String configPath;
public ConfigTask(String configPath) {
super();
this.configPath = configPath;
}
public void reload() {
JLogger.info("********** ConfigerTask is running. **********");
TimerConfig.init(configPath); // 重新加载配置
TimerManager.start();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy