class ConfigGetParameterHandler {

  public long getLong(String key) {
    Long activatedLong = getLongFromCache(activatedConfigsCache, key);
    if (activatedLong != null) {
      return activatedLong;
    }

    Long defaultsLong = getLongFromCache(defaultConfigsCache, key);
    if (defaultsLong != null) {
      return defaultsLong;
    }

    logParameterValueDoesNotExist(key, "Long");
    return DEFAULT_VALUE_FOR_LONG;
  }

  public  ConfigGetParameterHandler(
      ConfigCacheClient activatedConfigsCache, ConfigCacheClient defaultConfigsCache);

}