public NamedWindowTailView CreateTailView(
     EventType eventType,
     NamedWindowMgmtService namedWindowMgmtService,
     NamedWindowDispatchService namedWindowDispatchService,
     StatementResultService statementResultService,
     ValueAddEventProcessor revisionProcessor,
     bool prioritized,
     bool parentBatchWindow,
     string contextName,
     TimeSourceService timeSourceService,
     ConfigurationEngineDefaults.Threading threadingConfig)
 {
     return(new NamedWindowTailView(eventType, namedWindowMgmtService, namedWindowDispatchService, statementResultService, revisionProcessor, _isPrioritized, parentBatchWindow, timeSourceService, threadingConfig));
 }
Exemple #2
0
 /// <summary>Ctor. </summary>
 /// <param name="threadingConfig">configuration</param>
 public ThreadingServiceImpl(ConfigurationEngineDefaults.Threading threadingConfig)
 {
     _config = threadingConfig;
     if (ThreadingOption.IsThreadingEnabled)
     {
         _isTimerThreading    = threadingConfig.IsThreadPoolTimerExec;
         _isInboundThreading  = threadingConfig.IsThreadPoolInbound;
         _isRouteThreading    = threadingConfig.IsThreadPoolRouteExec;
         _isOutboundThreading = threadingConfig.IsThreadPoolOutbound;
     }
     else
     {
         _isTimerThreading    = false;
         _isInboundThreading  = false;
         _isRouteThreading    = false;
         _isOutboundThreading = false;
     }
 }
Exemple #3
0
 public NamedWindowTailView(
     EventType eventType,
     NamedWindowMgmtService namedWindowMgmtService,
     NamedWindowDispatchService namedWindowDispatchService,
     StatementResultService statementResultService,
     ValueAddEventProcessor revisionProcessor,
     bool prioritized,
     bool parentBatchWindow,
     TimeSourceService timeSourceService,
     ConfigurationEngineDefaults.Threading threadingConfig)
 {
     _eventType = eventType;
     _namedWindowMgmtService     = namedWindowMgmtService;
     _namedWindowDispatchService = namedWindowDispatchService;
     _statementResultService     = statementResultService;
     _revisionProcessor          = revisionProcessor;
     _isPrioritized       = prioritized;
     _isParentBatchWindow = parentBatchWindow;
     _consumersNonContext = NamedWindowUtil.CreateConsumerMap(_isPrioritized);
     _threadingConfig     = threadingConfig;
     _timeSourceService   = timeSourceService;
 }