public ApplicationMap build(Application application, long timeoutMillis) {
        logger.info("Building empty application map");

        NodeList nodeList = getNodeList(application);
        NodeHistogramFactory nodeHistogramFactory = this.nodeHistogramFactory;
        if (nodeHistogramFactory == null) {
            nodeHistogramFactory = new EmptyNodeHistogramFactory();
        }
        NodeHistogramAppender nodeHistogramAppender = nodeHistogramAppenderFactory.create(nodeHistogramFactory);

        LinkList emptyLinkList = LinkList.of();
        nodeHistogramAppender.appendNodeHistogram(timeWindow, nodeList, emptyLinkList, timeoutMillis);

        return DefaultApplicationMap.build(nodeList, emptyLinkList, timeWindow.getWindowRange());
    }
@author emeroad
@author minwoo.jung
@author HyunGil Jeong
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/ApplicationMapBuilder.java