@Override
  public synchronized <T extends Indexed> List<T> loadAll(Class<T> model, FilteringStrategy filter) {
    ArrayList<T> list = new ArrayList<T>();
    String modelIndexingPropName = getIndexPropertyName(model);
    LOG.debug(String.format("Loading all %s-s", model.getName()));
    int lastIndex = getConfig().getInt(modelIndexingPropName, 0);
    for(int i=1; i<=lastIndex; i++) {
      try {
        T item = load(model, i);
        if ((filter == null) || filter.isConform(item)) {
          list.add(item);
        }
      } catch (ItemNotFound ignored) {
      }
    }
    return list;
  }
Remove line from storage
@param modelPropName key
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/KeyValueStorage.java