示例#1
0
 /** Start a monitor with the specified key and mark it as primary */
 public static Monitor startPrimary(MonKey key) {
   return factory.startPrimary(key);
 }
示例#2
0
 /**
  * Return a timing monitor with units in milliseconds, that is not aggregated into the jamon
  * stats. The concept of primary allows you to correlate performance of all monitors with the most
  * resource intensive things the app does which helps you determine scalability. <b>Sample
  * call:</b><br>
  *
  * <blockquote>
  *
  * <code><pre>
  *  Monitor mon=MonitorFactory.startPrimary("myPrimaryMonitor");<br>
  * ...code being timed...<br>
  * mon.stop();
  *
  * </pre></code>
  *
  * </blockquote>
  *
  * <br>
  * <br>
  */
 public static Monitor startPrimary(String label) {
   return factory.startPrimary(label);
 }