/** * Reset. * * @param rootLabel * the root label * @since 1.4.2 */ public static synchronized void reset(final String rootLabel) { MonitorFactoryInterface factory = getMonitorFactory(rootLabel); factory.reset(); }
/** * Removes all the {@link SerializableMonitor}s in this repository. This also propagates to the * {@link MonitorFactory}. */ public static void clear() { MonitorFactory.getFactory().reset(); }