public void start() { repeatingActivity.start(); exhibitor .getConfigManager() .addConfigListener( new ConfigListener() { @Override public void configUpdated() { repeatingActivity.setTimePeriodMs( exhibitor.getConfigManager().getConfig().getInt(IntConfigs.CHECK_MS)); } }); }
@Override public void close() throws IOException { repeatingActivity.close(); }