public void run() { Logger.println("Version " + Version.getAgentFullVersion()); long dateUnit = DateUtil.getDateUnit(); while (running) { reload(false); // Text Data Reset.. long nowUnit = DateUtil.getDateUnit(); if (dateUnit != nowUnit) { dateUnit = nowUnit; DataProxy.reset(); } ThreadUtil.sleep(3000); } }
public void printConfig() { Logger.info("Configure -Dscouter.config=" + propertyFile); }