class ConfigGetParameterHandler {

  public double getDouble(String key) {
    Double activatedDouble = getDoubleFromCache(activatedConfigsCache, key);
    if (activatedDouble != null) {
      return activatedDouble;
    }

    Double defaultsDouble = getDoubleFromCache(defaultConfigsCache, key);
    if (defaultsDouble != null) {
      return defaultsDouble;
    }

    logParameterValueDoesNotExist(key, "Double");
    return DEFAULT_VALUE_FOR_DOUBLE;
  }

  public  ConfigGetParameterHandler(
      ConfigCacheClient activatedConfigsCache, ConfigCacheClient defaultConfigsCache);

}