class ConfigGetParameterHandler {

  public byte[] getByteArray(String key) {
    String activatedString = getStringFromCache(activatedConfigsCache, key);
    if (activatedString != null) {
      return activatedString.getBytes(FRC_BYTE_ARRAY_ENCODING);
    }

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

    logParameterValueDoesNotExist(key, "ByteArray");
    return DEFAULT_VALUE_FOR_BYTE_ARRAY;
  }

  public  ConfigGetParameterHandler(
      ConfigCacheClient activatedConfigsCache, ConfigCacheClient defaultConfigsCache);

}