Package org.openquark.util

Examples of org.openquark.util.DurationLogger


     * @return true if the graph is created successfully
     */
    private boolean buildGemGraph () {
        try {
            gemGraph = new GemGraph ();
            DurationLogger logger = new DurationLogger ();
           
            addCollectorForMessage();
            addCollectorsForMessageProperties ();
            addCollectorsForMetrics();
           
            logger.report("Time to add collectors: ", true);
           
            Gem triggerResultGem = addTriggerGems ();          
            logger.report("Time to add triggers: ", true);
           
            Gem actionResultGem = addActionGems ();           
            logger.report("Time to add actions: ", true);
           
            finishGemGraph (triggerResultGem, actionResultGem);
           
            logger.report("Time to finish graph: ", true);
           
            assert graphIsValid() : gemGraph.toString();
                      
            return true;
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.openquark.util.DurationLogger

Copyright © 2018 www.massapicom. 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.