private final ObjectName _objectName;
public HelixStageLatencyMonitor(String clusterName, String stageName) throws Exception {
_clusterName = clusterName;
_stageName = stageName;
_stgLatency = new StatCollector();
_beanServer = ManagementFactory.getPlatformMBeanServer();
_objectName =
new ObjectName("StageLatencyMonitor: " + "cluster=" + _clusterName + ",stage=" + _stageName);
try {
register(this, _objectName);