Exemple #1
0
        public TimeWindowBlock <T> CreateTimeWindowBlock <T>(TimeSpan windowSize, string name)
        {
            var windowBlock = new TimeWindowBlock <T>(EventProcessor, windowSize);

            SetDebugName(windowBlock, name);
            return(windowBlock);
        }
Exemple #2
0
        public ICEPExpression <IEnumerable <InputType> > Window(TimeSpan span)
        {
            TimeWindowBlock <InputType> block = blockFactory.CreateTimeWindowBlock <InputType>(span, name + "WindowTimeEvents");

            return(CreateChildExpr <IEnumerable <InputType> >(this, block, name + "WindowTime."));
        }