@Override
    public SegmentFd get(String name) {
        if (name.startsWith("rts.")) {
            // Asking for realtime segment(the child segment in realtime segment group), which can only be searched localhost.
            for (RTSGroup rtsg : localRealtimeTable.rtsGroups().values()) {
                RealtimeSegment rts = rtsg.realtimeSegments().get(name);
                if (rts != null) {
                    return rts;
                }
            }
        } else {
            return rtsGroupInfoMap.get(name);
        }
        return null;
    }
This segment pool cache all realtime segment fds.
indexr-server/src/main/java/io/indexr/server/rt/RealtimeSegmentPool.java