private void updateBlobIdToLogRecordMap(Map<String, LogBlobStatus> blobIdToLogRecord, String blobId, Long offset,
      boolean putRecord, boolean isExpired) {
    if (blobIdToLogRecord != null) {
      if (blobIdToLogRecord.containsKey(blobId)) {
        if (putRecord) {
          blobIdToLogRecord.get(blobId).addPutRecord(offset, isExpired);
        } else {
          blobIdToLogRecord.get(blobId).addDeleteRecord(offset);
        }
      } else {
        blobIdToLogRecord.put(blobId, new LogBlobStatus(offset, putRecord, isExpired));
      }
    }
  }
Updates the {@link Map} of blobIds to {@link LogBlobStatus} with the information about the passed in
<code>blobId</code>
@param blobIdToLogRecord {@link HashMap} of blobId to {@link LogBlobStatus} that needs to be updated with the
                                        information about the blob
@param blobId the blobId of the blob that needs to be updated in the {@link Map}
@param offset the offset at which the blob record was parsed from in the log file
@param putRecord {@code true} if the record is a Put record, {@code false} otherwise (incase of a Delete record)
@param isExpired {@code true} if the blob has expired, {@code false} otherwise
ambry-tools/src/main/java/com/github/ambry/store/DumpLogTool.java