code: @VisibleForTesting
      void clear() {
          this.segmentUpdates.clear();
          this.newSegments.clear();
          this.newSegmentNames.clear();
          this.newTruncationPoints.clear();
          this.processedCheckpoint = false;
          resetNewSequenceNumber();
      }
docs: Clears this UpdateTransaction of all changes.