Exemplo n.º 1
0
        public void Run()
        {
            try
            {
                EPRuntimeImpl.ProcessStatementScheduleSingle(_handleCallback, _services);

                _runtime.Dispatch();

                _runtime.ProcessThreadWorkQueue();
            }
            catch (Exception e)
            {
                Log.Error("Unexpected error processing timer execution: " + e.Message, e);
            }
        }
Exemplo n.º 2
0
        public void Run()
        {
            try
            {
                _epRuntime.ProcessStatementFilterMultiple(_handle, _callbackList, _theEvent, _filterVersion);

                _epRuntime.Dispatch();

                _epRuntime.ProcessThreadWorkQueue();
            }
            catch (Exception e)
            {
                Log.Error("Unexpected error processing multiple route execution: " + e.Message, e);
            }
        }
Exemplo n.º 3
0
        public void Run()
        {
            try
            {
                _epRuntime.ProcessStatementFilterSingle(
                    _handleCallback.AgentInstanceHandle, _handleCallback, _theEvent, _filterVersion);

                _epRuntime.Dispatch();

                _epRuntime.ProcessThreadWorkQueue();
            }
            catch (Exception e)
            {
                Log.Error("Unexpected error processing route execution: " + e.Message, e);
            }
        }
Exemplo n.º 4
0
        public void Run()
        {
            try
            {
                EPRuntimeImpl.ProcessStatementScheduleMultiple(_handle, _callbackObject, _services);

                // Let listeners know of results
                _runtime.Dispatch();

                // Work off the event queue if any events accumulated in there via a Route()
                _runtime.ProcessThreadWorkQueue();
            }
            catch (Exception e)
            {
                Log.Error("Unexpected error processing multiple timer execution: " + e.Message, e);
            }
        }
Exemplo n.º 5
0
 public void Run()
 {
     using (ScopedInstance <BoundBlockingQueueOverride> .Set(BoundBlockingQueueOverride.Default))
     {
         try
         {
             _epRuntime.ProcessStatementFilterSingle(_handleCallback.AgentInstanceHandle, _handleCallback, _event,
                                                     _filterVersion);
             _epRuntime.Dispatch();
             _epRuntime.ProcessThreadWorkQueue();
         }
         catch (Exception e)
         {
             Log.Error("Unexpected error processing route execution: " + e.Message, e);
         }
     }
 }