public ContainerStorageStats add(ContainerStorageStats other) {
    Objects.requireNonNull(other, "Parameter can't be null");
    if (other.containerId != containerId) {
      throw new IllegalArgumentException(
          "ContainerId from other stats is different from current one: " + other.containerId + " != " + containerId);
    }
    return new ContainerStorageStats(other.containerId, other.logicalStorageUsage + logicalStorageUsage,
        other.physicalStorageUsage + physicalStorageUsage, other.numberOfBlobs + numberOfBlobs);
  }
Add the given {@link ContainerStorageStats} to the current {@link ContainerStorageStats}.
@param other The {@link ContainerStorageStats} to add.
@return A new {@link ContainerStorageStats}.
ambry-api/src/main/java/com/github/ambry/server/storagestats/ContainerStorageStats.java