private NodeHistogramSummary getWasNodeHistogramSummary(ResponseTimeHistogramServiceOption option) {
        Application application = option.getApplication();
        Range range = option.getRange();
        TimeWindow timeWindow = option.getTimeWindow();

        final NodeHistogramFactory nodeHistogramFactory = createNodeHistogramFactory();
        NodeHistogram nodeHistogram = nodeHistogramFactory.createWasNodeHistogram(application, timeWindow);

        Node node = new Node(application);
        node.setNodeHistogram(nodeHistogram);

        final ServerGroupListFactory serverGroupListFactory = createServerGroupListFactory(option.isUseStatisticsAgentState());
        ServerGroupList serverGroupList = serverGroupListFactory.createWasNodeInstanceList(node, range.getTo());
        return new NodeHistogramSummary(application, serverGroupList, nodeHistogram);
    }
@author HyunGil Jeong
@author jaehong.kim
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java