@Override
    public NodeHistogramSummary selectNodeHistogramData(ResponseTimeHistogramServiceOption option) {

        Application application = option.getApplication();
        ServiceType applicationServiceType = application.getServiceType();

        if (applicationServiceType.isWas()) {
            return getWasNodeHistogramSummary(option);
        } else if (isTerminal(applicationServiceType)) {
            return getTerminalNodeHistogramSummary(option);
        } else if (applicationServiceType.isQueue()) {
            return getQueueNodeHistogramSummary(option);
        } else if (applicationServiceType.isUser()) {
            return getUserNodeHistogramSummary(option);
        } else {
            final ServerGroupListFactory serverGroupListFactory = createServerGroupListFactory(option.isUseStatisticsAgentState());
            Range range = option.getRange();
            return createEmptyNodeHistogramSummary(serverGroupListFactory, application, range);
        }
    }
@author HyunGil Jeong
@author jaehong.kim
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/service/ResponseTimeHistogramServiceImpl.java