public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamRandomAccess randomAccess = ViewServiceHelper.GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext); if (agentInstanceViewFactoryContext.IsRemoveStream) { return(new LengthWindowViewRStream(agentInstanceViewFactoryContext, this, Size)); } else { return(new LengthWindowView(agentInstanceViewFactoryContext, this, Size, randomAccess)); } }
public void SetUp() { _access = new IStreamRandomAccess( new ProxyRandomAccessByIndexObserver { UpdatedFunc = randomAccessByIndex => { } }); _events = new EventBean[100]; for (int i = 0; i < _events.Length; i++) { _events[i] = SupportEventBeanFactory.CreateObject(new SupportBean()); } }
public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamRandomAccess randomAccess = ViewServiceHelper.GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext); if (agentInstanceViewFactoryContext.IsRemoveStream) { return(new TimeAccumViewRStream(this, agentInstanceViewFactoryContext, _timeDeltaComputation)); } else { return(new TimeAccumView(this, agentInstanceViewFactoryContext, _timeDeltaComputation, randomAccess)); } }
public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamRandomAccess randomAccess = ViewServiceHelper.GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext); return(new ExternallyTimedWindowView(this, TimestampExpression, TimestampExpressionEval, TimeDeltaComputation, randomAccess, agentInstanceViewFactoryContext)); }
public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamRandomAccess randomAccess = ViewServiceHelper.GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext); return(new TimeWindowView(agentInstanceViewFactoryContext, this, _timeDeltaComputation, randomAccess)); }
public View MakeView(AgentInstanceViewFactoryChainContext agentInstanceViewFactoryContext) { IStreamRandomAccess randomAccess = ViewServiceHelper.GetOptPreviousExprRandomAccess(agentInstanceViewFactoryContext); return(new KeepAllView(agentInstanceViewFactoryContext, this, randomAccess)); }