def METHOD_NAME(self, msg):
    start_time = parse_ts(msg['Service-Read'])
    end_time = parse_ts(msg['Service-Write'])
    elapsed_time = end_time - start_time
    if elapsed_time > self.max_time:
        self.max_time = elapsed_time
    if elapsed_time < self.min_time:
        self.min_time = elapsed_time
    self.total_time += elapsed_time.seconds
    if start_time < self.earliest_time:
        self.earliest_time = start_time
    if end_time > self.latest_time:
        self.latest_time = end_time