Examples of PlannedJob


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

  private CalculationJobResult createJobResult(final CalculationJob job) {
    return new CalculationJobResult(job.getSpecification(), 10L, createResultItems(job.getJobItems()), "Test");
  }

  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
TOP
Copyright © 2018 www.massapi.com. 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.