On 1 December 2010 16:47, Anais Martinez <span dir="ltr">&lt;<a href="mailto:amartinez@iti.upv.es">amartinez@iti.upv.es</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Yes, I use Stream mode and real clock. I have a thread wich call fireAllrules<br>
of the session. Do I change to fireUntilHalt?<br>
<br></blockquote><div>What does your thread do after it returns from fireAllRules? <br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

The size==80 is because each type of reading comes each 15 minutes (2 types<br>
of readings * 4 readings each hour * 10 hours). Right or I change to &gt;=?<br></blockquote><div><br>Well, if the events arrive on schedule it should be OK, but what about the <br>delayed arrivals? Imagine you get two delayed events, #80, and #81, and you<br>
insert them one after the other, and not other thread has a chance of kicking<br>in.<br><br>How to handle this also depends on what the consequence is meant to do.<br>Sending a quick succession of alerts to some operator, one after the other,<br>
if a delayed bunch is inserted one after the other may not be acceptable.<br><br><br>Regards<br>-W<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
I have one only entry-point.<br>
<br>
Thanks again.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Question-about-collect-and-sliding-windows-tp1999562p1999854.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Question-about-collect-and-sliding-windows-tp1999562p1999854.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>