Search in sources :

Example 1 with ScatterScanResult

use of com.navercorp.pinpoint.web.vo.scatter.ScatterScanResult in project pinpoint by naver.

the class DotExtractor method getApplicationScatterScanResult.

public List<ApplicationScatterScanResult> getApplicationScatterScanResult() {
    List<ApplicationScatterScanResult> applicationScatterScanResult = new ArrayList<>();
    for (Map.Entry<Application, List<Dot>> entry : this.dotMap.entrySet()) {
        List<Dot> dotList = entry.getValue();
        Application application = entry.getKey();
        ScatterScanResult scatterScanResult = new ScatterScanResult(range.getFrom(), range.getTo(), dotList);
        applicationScatterScanResult.add(new ApplicationScatterScanResult(application, scatterScanResult));
    }
    return applicationScatterScanResult;
}
Also used : ArrayList(java.util.ArrayList) ApplicationScatterScanResult(com.navercorp.pinpoint.web.vo.scatter.ApplicationScatterScanResult) Dot(com.navercorp.pinpoint.web.vo.scatter.Dot) ArrayList(java.util.ArrayList) List(java.util.List) ApplicationScatterScanResult(com.navercorp.pinpoint.web.vo.scatter.ApplicationScatterScanResult) ScatterScanResult(com.navercorp.pinpoint.web.vo.scatter.ScatterScanResult) HashMap(java.util.HashMap) Map(java.util.Map)

Aggregations

ApplicationScatterScanResult (com.navercorp.pinpoint.web.vo.scatter.ApplicationScatterScanResult)1 Dot (com.navercorp.pinpoint.web.vo.scatter.Dot)1 ScatterScanResult (com.navercorp.pinpoint.web.vo.scatter.ScatterScanResult)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 List (java.util.List)1 Map (java.util.Map)1