List<String> phSourceNames = new ArrayList<String>();
EventProducer [] prods = ((DatabusRelayMain)_relay).getProducers();
GGParserStatistics stat = null;
for(EventProducer prod : prods) {
if (prod != null && (prod instanceof GoldenGateEventProducer)) {
GoldenGateEventProducer ggProducer = (GoldenGateEventProducer)prod;
String pSrcName = ggProducer.getParserStats().getPhysicalSourceName();
phSourceNames.add(pSrcName);
if(psourceName != null && psourceName.equals(pSrcName)) // remember the stats object
stat = ggProducer.getParserStats();
}
}
if(psourceName != null) {
if(stat == null)