src-java/base-topology/base-storm-topology/src/main/java/org/openkilda/wfm/share/history/service/HistoryService.java
/**
     * Fetches flow history records by a flow ID and a time period.
     */
Fetches flow history records by a flow ID and a time period.
Fetches flow history records by a flow ID and a time period .
public List<FlowEvent> listFlowEvents(String flowId, Instant timeFrom, Instant timeTo, int maxCount) {
        List<FlowEvent> result = flowEventRepository.findByFlowIdAndTimeFrame(flowId, timeFrom, timeTo, maxCount);
        result.forEach(flowEventRepository::detach);
        return result;
    }
public List < FlowEvent > listFlowEvents ( String flowId , Instant timeFrom , Instant timeTo , int maxCount ) { List < FlowEvent > result = flowEventRepository . findByFlowIdAndTimeFrame ( flowId , timeFrom , timeTo , maxCount ) ; result . forEach ( flowEventRepository :: detach ) ; return result ; }
Fetches flow history records by a flow ID and a time period.
Fetches flow history records by a flow ID and a time period .