Package com.opengamma.engine.view

Examples of com.opengamma.engine.view.ExecutionLogMode


        getCycle().markFailed(node);
      } else {
        getCycle().markExecuted(node);
      }
      // Process the streamed result fragment
      final ExecutionLogMode executionLogMode = logModes.getLogMode(node);
      final AggregatedExecutionLog aggregatedExecutionLog;
      if (executionLogMode == ExecutionLogMode.FULL) {
        final ExecutionLog log = jobResultItem.getExecutionLog();
        MutableExecutionLog logCopy = null;
        final Set<AggregatedExecutionLog> inputLogs = new LinkedHashSet<AggregatedExecutionLog>();
View Full Code Here


  private PlannedJob createJob(final GraphFragmentContext context) {
    final List<DependencyNode> nodes = getNodes();
    final List<CalculationJobItem> items = new ArrayList<CalculationJobItem>(nodes.size());
    for (final DependencyNode node : nodes) {
      final Set<ValueSpecification> inputs = node.getInputValues();
      final ExecutionLogMode logMode = context.getLogModeSource().getLogMode(node);
      final CalculationJobItem jobItem = new CalculationJobItem(
          node.getFunction().getFunction().getFunctionDefinition().getUniqueId(), node.getFunction().getParameters(),
          node.getComputationTarget(), inputs, node.getOutputValues(), logMode);
      items.add(jobItem);
    }
View Full Code Here

    final List<CalculationJobItem> items = new ArrayList<CalculationJobItem>();
    final Set<ValueSpecification> privateValues = new HashSet<ValueSpecification>();
    final Set<ValueSpecification> sharedValues = new HashSet<ValueSpecification>(graph.getTerminalOutputSpecifications());
    for (final DependencyNode node : order) {
      final Set<ValueSpecification> inputs = node.getInputValues();
      final ExecutionLogMode logMode = logModeSource.getLogMode(node);
      final CalculationJobItem jobItem = new CalculationJobItem(node.getFunction().getFunction().getFunctionDefinition().getUniqueId(), node.getFunction().getParameters(),
          node.getComputationTarget(), inputs, node.getOutputValues(), logMode);
      items.add(jobItem);
      // If node has dependencies which AREN'T in the graph, its outputs for those nodes are "shared" values
      for (final ValueSpecification specification : node.getOutputValues()) {
View Full Code Here

    } else {
      functionParameters = EmptyFunctionParameters.INSTANCE;
    }
    final long[] inputIdentifiers = message.getValue(long[].class, INPUT_IDENTIFIERS_FIELD_NAME);
    final long[] outputIdentifiers = message.getValue(long[].class, OUTPUT_IDENTIFIERS_FIELD_NAME);
    final ExecutionLogMode logMode = deserializer.fieldValueToObject(ExecutionLogMode.class, message.getByName(LOG_MODE_FIELD_NAME));
    return new CalculationJobItem(functionUniqueId, functionParameters, computationTargetSpecification, inputIdentifiers, outputIdentifiers, logMode);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.view.ExecutionLogMode

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.