_executionOptions = executionOptions;
_cycleRequested = !executionOptions.getFlags().contains(ViewExecutionFlags.WAIT_FOR_INITIAL_TRIGGER);
_compilationExpiryCycleTrigger = new FixedTimeTrigger();
addMasterCycleTrigger(_compilationExpiryCycleTrigger);
if (executionOptions.getFlags().contains(ViewExecutionFlags.TRIGGER_CYCLE_ON_TIME_ELAPSED)) {
addMasterCycleTrigger(new RecomputationPeriodTrigger(new Supplier<ViewDefinition>() {
@Override
public ViewDefinition get() {
return getViewDefinition();
}
}));