Hi, I found the following statements in Drools document:
"Sliding windows start to match immediately and defining a sliding window
does not imply that the rule has to wait for the sliding window to be "full"
in order to match. For instance, a rule that calculates the average of an
event property on a window:length(10) will start calculating the average
immediately, and it will start at 0 (zero) for no-events, and will update
the average as events arrive one by one."
Would someone please let me know how I can wait for the sliding windows to
be full to match? Our requirement is always use the average reading over at
least 60 seconds.
Thanks!
Grant
--
View this message in context:
http://drools.46999.n3.nabble.com/Sliding-window-full-length-question-tp4...
Sent from the Drools: User forum mailing list archive at
Nabble.com.