final DependencyGraphExecutor executor = getCycle().getViewProcessContext().getDependencyGraphExecutorFactory().createExecutor(getCycle());
for (final String calcConfigurationName : getCycle().getAllCalculationConfigurationNames()) {
s_logger.info("Executing plans for calculation configuration {}", calcConfigurationName);
final DependencyGraph depGraph = getCycle().createExecutableDependencyGraph(calcConfigurationName);
s_logger.info("Submitting {} for execution by {}", depGraph, executor);
final DependencyGraphExecutionFuture future = executor.execute(depGraph);
_executing.put(calcConfigurationName, new ExecutingCalculationConfiguration(getCycle(), depGraph, future));
future.setListener(this);
}
try {
while (!_executing.isEmpty()) {
// Block for the first event
_events.take().run(this);