long endDbUpdatesMs = System.currentTimeMillis();
long dbUpdatesElapsedTimeMs = endDbUpdatesMs - startDbUpdatesMs;
// Log Event Summary at logical source level
EventReaderSummary summary = new EventReaderSummary(sourceId, _monitoredSources.get(sourceId).getSourceName(),
scn, t.getDbChangeEntrySet().size(), dbUpdatesEventsSize,-1L /* Not supported */,
dbUpdatesElapsedTimeMs, timestamp, timestamp, -1L /* Not supported */);
if (_eventsLog.isInfoEnabled())
{
_eventsLog.info(summary.toString());
}
summaries.add(summary);
long tsEnd = System.currentTimeMillis();
perSourceStats.addTimeOfLastDBAccess(tsEnd);
globalStats.addTimeOfLastDBAccess(tsEnd);
}
_eventBuffer.endEvents(scn, _relayInboundStatsCollector);
// Log Event Summary at Physical source level
ReadEventCycleSummary summary = new ReadEventCycleSummary(_physicalSourceStaticConfig.getName(),
summaries,
scn,
-1 /* Overall time including query time not calculated */);
if (_eventsLog.isInfoEnabled())
{
_eventsLog.info(summary.toString());
}
}