public long diskUsage() {
    return usages.stream()
      .filter(d -> d.resource instanceof DiskUsage)
      .mapToLong(d -> d.amount)
      .sum();
  }
Returns the total amount of disk requested so far.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/ResourceUsage.java