/** Unregister all statistics from <tt>Servo</tt>. */ public static void shutdown() { for (EurekaMonitors c : EurekaMonitors.values()) { DefaultMonitorRegistry.getInstance().unregister(Monitors.newObjectMonitor(c.name(), c)); } }
/** Register all statistics with <tt>Servo</tt>. */ public static void registerAllStats() { for (EurekaMonitors c : EurekaMonitors.values()) { Monitors.registerObject(c.getName(), c); } }