class ConfigGetParameterHandler {

  public String getString(String key) {
    String activatedString = getStringFromCache(activatedConfigsCache, key);
    if (activatedString != null) {
      return activatedString;
    }

    String defaultsString = getStringFromCache(defaultConfigsCache, key);
    if (defaultsString != null) {
      return defaultsString;
    }

    logParameterValueDoesNotExist(key, "String");
    return DEFAULT_VALUE_FOR_STRING;
  }

  public  ConfigGetParameterHandler(
      ConfigCacheClient activatedConfigsCache, ConfigCacheClient defaultConfigsCache);

}