/** * Disable MonitorFactory. When disabled the factory returns null/noop monitors. This method has * the same * * <p>effect as calling MonitorFactor.setEnabled(true). */ public static void disable() { setEnabled(false); }
/** * Enable MonitorFactory. When enabled the factory returns monitors that store aggregate stats. * This method has the same * * <p>effect as calling MonitorFactor.setEnabled(true). */ public static void enable() { setEnabled(true); }