/**
* the INITTASKS calling connectToDS across ThreadGroups
* should be executed with the keyword SEQUENTIAL
* <p>
* Must be invoked after the JMX agents have been created, started, and
* connected using {@link hydra.AgentHelper}.
*/
public static void connectToDS() throws Exception
{
// Connect To DS
connectToDSButDoNotAttachListeners();
//Register the stat alert notification listener as well.
listener = new StatAlertNotificationListener(40);
NotificationFilterSupport support = new NotificationFilterSupport();
support.enableType(AdminDistributedSystemJmxImpl.NOTIF_STAT_ALERT);
mbsc.addNotificationListener(distributedSys, listener, support, new Object());
logger.info("Connected to JMX ADS " + distributedSys);
}
JMXHelper.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:gemfirexd-oss
作者:
评论列表
文章目录