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);
 }
示例#3
0
    public MboxMetricsMBean(MetricsRegistry registry) {
      super(registry, "Lily mbox import");

      mbeanName = MBeanUtil.registerMBean("mbox import", "Metrics", this);
    }