@Override
        public void visitSegment(RemoteLogSegmentFileset fileset) {
            if (records.containsKey(fileset.getRemoteLogSegmentId())) {
                throw new IllegalStateException(format("Segment with id %s was already visited", fileset.getRemoteLogSegmentId()));
            }

            records.put(fileset.getRemoteLogSegmentId(), fileset);
        }
A capture of the content of the local tiered storage at a point in time.
storage/src/test/java/org/apache/kafka/server/log/remote/storage/LocalTieredStorageSnapshot.java