code: private void readConfig(){
  		configuration = MoskitoConfigurationHolder.getConfiguration();
  		ThresholdsConfig config = configuration.getThresholdsConfig();
  		ThresholdConfig[] tcs = config.getThresholds();
  		if (tcs!=null && tcs.length>0){
  			for (ThresholdConfig tc  : tcs){
  				ThresholdDefinition td = new ThresholdDefinition();
  				td.setName(tc.getName());
  				td.setIntervalName(tc.getIntervalName());
  				td.setProducerName(tc.getProducerName());
  				td.setStatName(tc.getStatName());
  				td.setTimeUnit(TimeUnit.valueOf(tc.getTimeUnit()));
  				td.setValueName(tc.getValueName());
  				Threshold newThreshold = createThreshold(td);
  
  				GuardConfig[] guards =  tc.getGuards();
  				if (guards!=null && guards.length>0){
  					boolean hasDots = false;
  					for (GuardConfig guard : guards ) {
  						hasDots |= hasDots(guard.getValue());
  					}
  
  					for (GuardConfig guard : guards ){
  						newThreshold.addGuard(
  								hasDots ?
  										new DoubleBarrierPassGuard(ThresholdStatus.valueOf(guard.getStatus()),
  												Double.parseDouble(guard.getValue()),
  												GuardedDirection.valueOf(guard.getDirection()))
  										:
  										new LongBarrierPassGuard(ThresholdStatus.valueOf(guard.getStatus()),
  												Long.parseLong(guard.getValue()),
  												GuardedDirection.valueOf(guard.getDirection()))
  						);
  					}
  				}
  			}
  		}
  	}
docs: Reads the config and creates configured thresholds. For now this method is only executed on startup.