code: void updateSpaceConsumed(String path, long nsDelta, long dsDelta)
                                           throws QuotaExceededException,
                                                  FileNotFoundException {
      updateSpaceConsumed(path, null, nsDelta, dsDelta);
    }
docs: Updates namespace and diskspace consumed for all
  directories until the parent directory of file represented by path.
  
  @param path path for the file.
  @param nsDelta the delta change of namespace
  @param dsDelta the delta change of diskspace
  @throws QuotaExceededException if the new count violates any quota limit
  @throws FileNotFound if path does not exist.