/**Return the monitor associated with the label, and units. 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.getMonitor("myPrimaryMonitor"); * }</pre> * */ public static Monitor getMonitor(String label, String units) { return factory.getMonitor(label, units); }
/** Get the monitor associated with the passed in key. It will be created if it doesn't exist */ public static Monitor getMonitor(MonKey key) { return factory.getMonitor(key); }
/** <p>Return the monitor associated with the label, and units. 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.getMonitor("myPrimaryMonitor");<br> * *</pre></code></blockquote><br><br> * */ public static Monitor getMonitor(String label, String units) { return factory.getMonitor(label, units); }
/** Get the monitor associated with the passed in key. It will be created if it doesn't exist */ public static Monitor getMonitor(MonKey key) { return factory.getMonitor(key); }
public static Monitor getMonitor() { return factory.getMonitor(); }
public static Monitor getMonitor() { return factory.getMonitor(); }