@Override
  public <T extends Indexed> T load(Class<T> model, int id) throws ItemNotFound {
    String modelPropName = getItemPropertyName(model, id);
    LOG.debug(String.format("Loading %s", modelPropName));
    if (getConfig().containsKey(modelPropName)) {
      String json = read(modelPropName);
      LOG.debug(String.format("json: %s", json));
      return deserialize(model, json);
    } else {
      throw new ItemNotFound();
    }
  }
Returns config instance, adapter to Persistence API
@return config instance
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/KeyValueStorage.java