Oh, I think I can make it better, maybe I can change the structure when load 
the data at bellow
    // group by transport
    for (MeasurementNode transportNode : node.getChildren().values()) {
      // group by operation
      for (MeasurementNode operationNode : 
transportNode.getChildren().values()) {
        // group by status
        for (MeasurementNode statusNode : operationNode.getChildren().values()) 
{
          //groups : transport -> statusCode -> operation -> pref
          PublishUtils.addOperationPerfGroups(groups, transportNode.getName(), 
operationNode.getName(), statusNode);
        }
      }
    }

[ Full content available at: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/944 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to