Examples of stopTiming()


Examples of com.comphenix.protocol.timing.TimedListenerManager.stopTiming()

      if (manager.startTiming())
        sender.sendMessage(ChatColor.GOLD + "Started timing packet listeners.");
      else
        sender.sendMessage(ChatColor.RED + "Packet timing already started.");
    } else {
      if (manager.stopTiming()) {
        saveTimings(manager);
        sender.sendMessage(ChatColor.GOLD + "Stopped and saved result in plugin folder.");
      } else {
        sender.sendMessage(ChatColor.RED + "Packet timing already stopped.");
      }
View Full Code Here

Examples of com.custardsource.parfait.timing.EventMetricCollector.stopTiming()

    EventMetricCollector collector = timer.getCollector();
    collector.startTiming((Timeable) key, methodName);
    try {
      message.getInterceptorChain().doIntercept(message);
    } finally {
      collector.stopTiming();
    }
  }
}
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

                }

                Document d = getDocument();

                if (timer != null) {
                    timer.stopTiming();
                    timer.logResult("Parse " + documentURL.toExternalForm());
                }
             
                return d;
            } catch (Exception e) {
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

            Verifier.setCurrentInstance(null);
            initContext.release();
            LOGGER.log(Level.FINE,
                       "jsf.config.listener.version.complete");
            if (timer != null) {
                timer.stopTiming();
                timer.logResult("Initialization of context " +
                                getServletContextIdentifier(context));
            }          
        }
    }
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

            if (LOGGER.isLoggable(Level.FINE)) {
                LOGGER.log(Level.FINE,
                        "jsf.config.listener.version.complete");
            }
            if (timer != null) {
                timer.stopTiming();
                timer.logResult("Initialization of context " +
                        getServletContextIdentifier(context));
            }
            if (null != caughtThrowable) {
                throw new RuntimeException(caughtThrowable);
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

            //AnnotationScanner scanner = new AnnotationScanner(sc);
            Map<Class<? extends Annotation>,Set<Class<?>>> annotatedClasses =
                  provider.getAnnotatedClasses(scanUris);

            if (t != null) {
                t.stopTiming();
                t.logResult("Configuration annotation scan complete.");
            }

            return annotatedClasses;
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

                }

                Document d = getDocument();

                if (timer != null) {
                    timer.stopTiming();
                    timer.logResult("Parse " + documentURI.toURL().toExternalForm());
                }

                return new DocumentInfo(d, documentURI);
            } catch (Exception e) {
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

            //AnnotationScanner scanner = new AnnotationScanner(sc);
            Map<Class<? extends Annotation>,Set<Class<?>>> annotatedClasses =
                  provider.getAnnotatedClasses(scanUris);

            if (t != null) {
                t.stopTiming();
                t.logResult("Configuration annotation scan complete.");
            }

            return annotatedClasses;
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

                }

                Document d = getDocument();

                if (timer != null) {
                    timer.stopTiming();
                    timer.logResult("Parse " + documentURI.toURL().toExternalForm());
                }

                return new DocumentInfo(d, documentURI);
            } catch (Exception e) {
View Full Code Here

Examples of com.sun.faces.util.Timer.stopTiming()

            if (LOGGER.isLoggable(Level.FINE)) {
                LOGGER.log(Level.FINE,
                        "jsf.config.listener.version.complete");
            }
            if (timer != null) {
                timer.stopTiming();
                timer.logResult("Initialization of context " +
                        getServletContextIdentifier(context));
            }
            if (null != caughtThrowable) {
                throw new RuntimeException(caughtThrowable);
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.