code: public void updateCapacityBytes(Map<String, Long> capacityBytesOnTiers) {
      mCapacityBytes = 0;
      mTotalBytesOnTiers = capacityBytesOnTiers;
      for (long t : mTotalBytesOnTiers.values()) {
        mCapacityBytes += t;
      }
    }
docs: Sets the capacity of the worker in bytes.
  
  @param capacityBytesOnTiers used bytes on each storage tier