use of org.apache.sling.discovery.TopologyEvent in project sling by apache.
the class AssertingTopologyEventListener method dump.
public void dump() {
StringBuffer ue = new StringBuffer();
if (unexpectedEvents_.size() > 0) {
for (Iterator<TopologyEvent> it = unexpectedEvents_.iterator(); it.hasNext(); ) {
TopologyEvent topologyEvent = it.next();
ue.append(topologyEvent + ", ");
}
unexpectedEvents_.iterator();
}
logger.info("dump: got " + events_.size() + " events, " + unexpectedEvents_.size() + " (details: " + ue + ") thereof unexpected. My list of expected events contains " + expectedEvents.size());
}
Aggregations