public ProcessorMetricsMXBean(MetricsRegistry registry) { super(registry, "Lily Row Log SubscriptionHandler"); mbeanName = MBeanUtil.registerMBean("Row Log SubscriptionHandler", subscriptionId, this); }
public void shutdown() { if (mbeanName != null) MBeanUtil.unregisterMBean(mbeanName); }
public MboxMetricsMBean(MetricsRegistry registry) { super(registry, "Lily mbox import"); mbeanName = MBeanUtil.registerMBean("mbox import", "Metrics", this); }