Examples of markTimeEnd()


Examples of org.rhq.core.util.StopWatch.markTimeEnd()

            Integer[] resourceIdArray = resourceIdBatch.toArray(new Integer[resourceIdBatch.size()]);

            resourceIdBatch.clear();

            if (isDebugEnabled) {
                stopWatch.markTimeEnd(marker);

                marker = markerPrefix + "Get sublist of resources from server";
                stopWatch.markTimeBegin(marker);
            }
View Full Code Here

Examples of org.rhq.core.util.StopWatch.markTimeEnd()

            // This is a potentially expensive operation depending on the size of the batch and the content of the resources.
            List<Resource> resourceBatch = configuration.getServerServices().getDiscoveryServerService()
                .getResourcesAsList(resourceIdArray);

            if (isDebugEnabled) {
                stopWatch.markTimeEnd(marker);

                marker = markerPrefix + "Store sublist of resources to map";
                stopWatch.markTimeBegin(marker);
            }
View Full Code Here

Examples of org.rhq.core.util.StopWatch.markTimeEnd()

                resourceMap.put(r.getId(), r);
            }
            resourceBatch.clear();

            if (isDebugEnabled) {
                stopWatch.markTimeEnd(marker);
            }
        }

        if (syncInfos.size() != resourceMap.size()) {
            log.warn("Expected [" + syncInfos.size() + "] but found [" + resourceMap.size()
View Full Code Here

Examples of org.rhq.core.util.StopWatch.markTimeEnd()

                result.add(resource);
            }
        }

        if (isDebugEnabled) {
            stopWatch.markTimeEnd(marker);

            log.debug("Resource trees built from map - performance: " + stopWatch);
        }

        return result;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.