use of org.apache.geode.admin.jmx.internal.StatAlertsAggregator in project geode by apache.
the class AlertsNotificationMessage method process.
@Override
protected void process(DistributionManager dm) {
// TODO add code to invoke process notification of agrregator
// TODO: need to check whether it's a valid implimentation
AdminDistributedSystemImpl ds = AdminDistributedSystemImpl.getConnectedInstance();
if (ds instanceof StatAlertsAggregator) {
StatAlertsAggregator aggregator = (StatAlertsAggregator) ds;
RemoteGemFireVM remoteVM = dm.getAgent().getMemberById(getSender());
aggregator.processNotifications(this._alerts, remoteVM);
}
}
Aggregations