for(AnalysisEnginePerformanceMetrics delegateMetric : metrics ) {
String tmp =
delegateMetric.getUniqueName().substring(delegateMetric.getUniqueName().indexOf(","));
String adjustedUniqueName =
((AggregateAnalysisEngineController) getController()).getJMXDomain()+((AggregateAnalysisEngineController) getController()).getJmxContext()+tmp;
AnalysisEnginePerformanceMetrics metric =
new AnalysisEnginePerformanceMetrics(delegateMetric.getName(),adjustedUniqueName,delegateMetric.getAnalysisTime(),delegateMetric.getNumProcessed());
adjustedMetrics.add(metric);
}
ancestor.addDelegateMetrics(delegateKey, adjustedMetrics, true); // true=remote
}
} catch (Exception e) {