@Override
    public Segment[] getView() {
        return segmentList.get();
    }
FileSegments management. Contains two types FileSegment: data and index.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/broker/msgstore/disk/FileSegmentList.java