final ObjectName nameObj = new ObjectName(name);
mbs.registerMBean(this, nameObj);
MetricRegistry reg = Metrics.getRegistry();
activeGauge = reg.register(MetricRegistry.name(RollupService.class, "Active"),
new JmxBooleanGauge(nameObj, "Active"));
inflightRollupGauge = reg.register(MetricRegistry.name(RollupService.class, "In Flight Rollup Count"),
new JmxAttributeGauge(nameObj, "InFlightRollupCount"));
pollerPeriodGauge = reg.register(MetricRegistry.name(RollupService.class, "Poller Period"),
new JmxAttributeGauge(nameObj, "PollerPeriod"));