public void fireListeners(ReadGraphImpl graph) {
+ ReadGraphImpl listenerGraph = graph.forSyncExecute();
+ listenerGraph.asyncBarrier.inc();
+ fireListeners_(listenerGraph);
+ listenerGraph.asyncBarrier.dec();
+ listenerGraph.asyncBarrier.waitBarrier(this, listenerGraph);
+
+ }
+
+ private void fireListeners_(ReadGraphImpl graph) {
+
assert (!processor.updating);
assert (!processor.cache.collecting);
assert (!firingListeners);