flowLastTimestamp.put(flowID, obj.getTimestamp());
if (!flowTypes.containsKey(flowID)) {
flowTypes.put(flowID, new HashSet<String>());
}
EventTypeEnum typeEnum = obj.getEventType();
flowTypes.get(flowID).add(typeEnum.toString());
boolean isConsumer = typeEnum == EventTypeEnum.REQ_OUT || typeEnum == EventTypeEnum.RESP_IN
|| typeEnum == EventTypeEnum.FAULT_IN;
boolean isProvider = typeEnum == EventTypeEnum.REQ_IN || typeEnum == EventTypeEnum.RESP_OUT
|| typeEnum == EventTypeEnum.FAULT_OUT;