Package com.opengamma.engine.view.execution

Examples of com.opengamma.engine.view.execution.ExecutionOptions


  protected ViewExecutionOptions getSecondaryExecutionOptions(final ViewExecutionOptions executionOptions) {
    final EnumSet<ViewExecutionFlags> flags = EnumSet.copyOf(executionOptions.getFlags());
    if (!flags.remove(ViewExecutionFlags.WAIT_FOR_INITIAL_TRIGGER)) {
      return executionOptions;
    }
    return new ExecutionOptions(executionOptions.getExecutionSequence(), flags, executionOptions.getMaxSuccessiveDeltaCycles(), executionOptions.getDefaultExecutionOptions());
  }
View Full Code Here


  /* package */AbstractViewProcessWorkerContext getSecondary() {
    return _secondary;
  }

  protected ViewExecutionOptions getOptions(final ViewCycleExecutionSequence sequence) {
    return new ExecutionOptions(sequence, getFlags(), getMaxSuccessiveDeltaCycles(), getDefaultExecutionOptions());
  }
View Full Code Here

        }
        if (changed) {
          ViewCycleExecutionOptions defaultOptions = defaultExecutionOptions.copy()
              .setMarketDataSpecifications(specifications)
              .create();
          return new ExecutionOptions(executionOptions.getExecutionSequence(), executionOptions.getFlags(),
              executionOptions.getMaxSuccessiveDeltaCycles(), defaultOptions);
        }
      }
    }
    return executionOptions;
View Full Code Here

    }
    FudgeField defaultExecutionOptionsField = message.getByName(DEFAULT_EXECUTION_OPTIONS_FIELD);
    ViewCycleExecutionOptions defaultExecutionOptions = defaultExecutionOptionsField != null ?
        deserializer.fieldValueToObject(ViewCycleExecutionOptions.class, defaultExecutionOptionsField) : null;

    return new ExecutionOptions(executionSequence, flags, maxSuccessiveDeltaCycles, defaultExecutionOptions);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.view.execution.ExecutionOptions

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.