Ejemplo n.º 1
0
        public EPDataFlowInstanceImpl(
            object dataFlowInstanceUserObject,
            string dataFlowInstanceId,
            OperatorStatisticsProvider statistics,
            IDictionary<int, object> operators,
            IList<GraphSourceRunnable> sourceRunnables,
            DataflowDesc dataflowDesc,
            AgentInstanceContext agentInstanceContext,
            EPDataFlowInstanceStatistics statisticsProvider,
            IDictionary<string, object> parametersURIs)
        {
            UserObject = dataFlowInstanceUserObject;
            InstanceId = dataFlowInstanceId;
            _statistics = statistics;
            _dataflowDesc = dataflowDesc;
            _agentInstanceContext = agentInstanceContext;
            _sourceRunnables = sourceRunnables;
            Statistics = statisticsProvider;
            Parameters = parametersURIs;

            State = EPDataFlowState.INSTANTIATED;

            _operators = new OrderedListDictionary<int, Pair<object, bool>>();
            foreach (var entry in operators) {
                _operators.Put(entry.Key, new Pair<object, bool>(entry.Value, false));
            }
        }
Ejemplo n.º 2
0
 public DataflowStartDesc(OperatorStatisticsProvider statisticsProvider)
 {
     StatisticsProvider = statisticsProvider;
 }