All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jquicker.timer.ConfigTask Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
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