public void Stop(AgentInstanceStopServices services) { using (_lock.Acquire()) { if (_filterHandle != null) { FilterValueSetParam[][] addendum = null; var agentInstanceContext = services.AgentInstanceContext; if (agentInstanceContext.AgentInstanceFilterProxy != null) { addendum = agentInstanceContext.AgentInstanceFilterProxy.GetAddendumFilters( _filterSpecActivatable, agentInstanceContext); } var filterValues = _filterSpecActivatable.GetValueSet( null, addendum, agentInstanceContext, agentInstanceContext.StatementContextFilterEvalEnv); services.AgentInstanceContext.FilterService.Remove( _filterHandle, _filterSpecActivatable.FilterForEventType, filterValues); } _filterHandle = null; } }
// Clear out index on statement stop public void Stop(AgentInstanceStopServices services) { if (_eventIndex != null) { foreach (var table in _eventIndex) { table.Destroy(); } } }
public static void RemoveSubview( View view, AgentInstanceStopServices services) { view.Parent = null; (view as AgentInstanceMgmtCallback)?.Stop(services); RecursiveChildRemove(view, services); }
public void Stop(AgentInstanceStopServices stopServices) { try { _virtualDwView.Destroy(); stopServices.AgentInstanceContext.RuntimeEnvContext.Unbind(_objectName); } catch (NamingException) { } }
public void Stop(AgentInstanceStopServices services) { if (handle != null) { agentInstanceContext.AuditProvider.ScheduleRemove( agentInstanceContext, handle, ScheduleObjectType.view, timeWindowViewFactory.ViewName); agentInstanceContext.StatementContext.SchedulingService.Remove(handle, scheduleSlot); } }
public void Stop(AgentInstanceStopServices services) { if (_handle != null) { _agentInstanceContext.AuditProvider.ScheduleRemove( _agentInstanceContext, _handle, ScheduleObjectType.view, _factory.ViewName); _agentInstanceContext.StatementContext.SchedulingService.Remove(_handle, _scheduleSlot); } }
public void Stop(AgentInstanceStopServices services) { var instance = _namedWindow.GetNamedWindowInstance(services.AgentInstanceContext); if (instance == null) { Log.Warn("Named window processor by name '" + _namedWindow.Name + "' has not been found"); } else { instance.Destroy(); } _optionalEnvStopCallback?.Stop(services); }
public void Stop(AgentInstanceStopServices services) { if (!newToOldEventMap.IsEmpty()) { var oldEvents = new OneEventCollection(); foreach (var oldEvent in newToOldEventMap) { oldEvents.Add(oldEvent.Value); } if (!oldEvents.IsEmpty()) { Child.Update(null, oldEvents.ToArray()); } newToOldEventMap.Clear(); } }
public void Stop(AgentInstanceStopServices services) { using (_lock.Acquire()) { if (_filterHandle != null) { var filterValues = ComputeFilterValues(services.AgentInstanceContext); if (filterValues != null) { services.AgentInstanceContext.FilterService.Remove( _filterHandle, _filterSpecActivatable.FilterForEventType, filterValues); } } _filterHandle = null; } }
private static void RecursiveChildRemove( View view, AgentInstanceStopServices services) { var child = view.Child; if (child == null) { return; } if (child is MergeView) { var mergeView = (MergeView) child; mergeView.RemoveParentView(view); } else { (child as AgentInstanceMgmtCallback)?.Stop(services); RecursiveChildRemove(child, services); } }
public void Stop(AgentInstanceStopServices services) { foreach (var view in views) { (view as AgentInstanceMgmtCallback)?.Stop(services); } }
public void Stop(AgentInstanceStopServices services) { // no action }
public void Stop(AgentInstanceStopServices services) { child.Update(events.ToArray(), null); events = new List<EventBean>(); }
public void Stop(AgentInstanceStopServices services) { _rootState.Stop(); }
public void Stop(AgentInstanceStopServices services) { foreach (var entry in subViewPerKey) { GroupByViewUtil.RemoveSubview(entry.Value.Subview, services); } }
public void Stop(AgentInstanceStopServices services) { ConsumerCallback.Stopped(this); }
public override void Stop(AgentInstanceStopServices services) { _afterConditionState?.Destroy(); }
public override void Stop(AgentInstanceStopServices services) { }
public void Stop(AgentInstanceStopServices services) { StopScheduleAndVar(); agentInstanceContext.RemoveTerminationCallback(this); }
public void Stop(AgentInstanceStopServices services) { _resultSetProcessor.Stop(); _aggregationService.Stop(); }
public void Stop(AgentInstanceStopServices services) { foreach (KeyValuePair<object, View> entry in subViewPerKey) { GroupByViewUtil.RemoveSubview(entry.Value, services); } }
public override void Stop(AgentInstanceStopServices services) { base.Stop(services); OptionalDeltaSet.Destroy(); _outputCondition.StopOutputCondition(); }
public override void Stop(AgentInstanceStopServices services) { base.Stop(services); OptionalOutputCondition.StopOutputCondition(); }
public void Stop(AgentInstanceStopServices services) { _pollExecStrategy.Destroy(); DataCache.Destroy(); }
public override void Stop(AgentInstanceStopServices services) { base.Stop(services); _outputCondition.StopOutputCondition(); _witnessedFirstHelper.Destroy(); }