Package com.opengamma.engine.exec.plan

Examples of com.opengamma.engine.exec.plan.GraphExecutionPlan


  private GraphExecutionPlan createPlan() {
    final PlannedJob job1 = new PlannedJob(1, createJobItems(1), CacheSelectHint.allShared(), null, null);
    final PlannedJob job2 = new PlannedJob(1, createJobItems(2), CacheSelectHint.allShared(), null, new PlannedJob[] {job1 });
    final PlannedJob job3 = new PlannedJob(0, createJobItems(3), CacheSelectHint.allShared(), new PlannedJob[] {job2 }, null);
    return new GraphExecutionPlan("Default", 0, Arrays.asList(job3), 3, 2d, 10d, 20d);
  }
View Full Code Here


  // DependencyGraphExecutor

  @Override
  public DependencyGraphExecutionFuture execute(final DependencyGraph graph) {
    final GraphExecutionPlan plan = getPlanner().createPlan(graph, getCycle().getViewProcessContext().getExecutionLogModeSource(), getCycle().getFunctionInitId());
    final PlanExecutor executor = new PlanExecutor(getCycle(), plan);
    executor.start();
    return executor;
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.exec.plan.GraphExecutionPlan

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.