public long get(LimitedResource... types) {
    var typeList = List.of(types);
    return usages.stream()
      .filter(d -> typeList.contains(d.resource))
      .mapToLong(d -> d.amount)
      .sum();
  }
Returns the total amount of disk requested so far for {@code types}.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/ResourceUsage.java