/** Get the time monitor associated with the passed in key. It will be created if it doesn't exist. The units * are in ms.*/ public static Monitor getTimeMonitor(MonKey key) { return factory.getTimeMonitor(key); }
/** Return the time monitor associated with the label. All statistics associated with the monitor can then be accessed such * as hits, total, avg, min, and max. If the monitor does not exist it will be created. * * <p>Sample call:</p> * <pre>{@code * Monitor mon=MonitorFactory.getTimeMonitor("myPrimaryMonitor"); * }</pre> * */ public static Monitor getTimeMonitor(String label) { return factory.getTimeMonitor(label); }
/** Get the time monitor associated with the passed in key. It will be created if it doesn't exist. The units * are in ms.*/ public static Monitor getTimeMonitor(MonKey key) { return factory.getTimeMonitor(key); }
/** <p>Return the time monitor associated with the label. All statistics associated with the monitor can then be accessed such as hits, total, avg, min, and max. If the monitor does not exist it will be created. </p> * * <b>Sample call:</b><br> * <blockquote><code><pre> * Monitor mon=MonitorFactory.getTimeMonitor("myPrimaryMonitor");<br> * *</pre></code></blockquote><br><br> * */ public static Monitor getTimeMonitor(String label) { return factory.getTimeMonitor(label); }