[rules-users] Sliding window behavior in stream mode and realtime clock

Wolfgang Laun wolfgang.laun at gmail.com
Wed Dec 7 03:19:59 EST 2011


On 07/12/2011, MarcoMojana <marco.mojana at exmachina.ch> wrote:
>
> laune wrote
>>
>> A virtual ("pseudo") clock is indicated. The timestamp of the facts
>> should control the advancement of the clock.
>>
>
> When the window is moved, does Drools consider all the intermediate
> positions? (Since my rule considers events depending only if they are
> included or not in the window, obviously it's not needed to consider all the
> infinite positions, but only those that affect the rule activation)

It should work if you fireAllRules() after each nudge of the clock and insertion
of the next fact.

>
> What about my third point?

Does it still happen when you use a pseudo clock?

-W

>
> --
> MM
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Sliding-window-behavior-in-stream-mode-and-realtime-clock-tp3564950p3566708.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list