public int size() {
        return snapshot.records.size();
    }
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