On 24 July 2011 14:21, Andre <span dir="ltr">&lt;<a href="mailto:morpheusandre@web.de">morpheusandre@web.de</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;">
cause if i would know that there hasnt been a change in the count of, for<br>
example, A.A,  it shouldnt fire,<br>
<br>
that leads me to the next question: is an accumulate function excuted by<br>
more than one thread ?<br>
<br></blockquote><div><br>If there is more than one thread inserting facts, then:  yes.<br>-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

it rises if you think of storing such information in the context of the<br>
accumulate function directly.  like a semaphore, which  signals that this<br>
entry has already caused something fired<br>
<br>
in the example:<br>
 the rule 1 accumulates over attributes of incoming objects  (A.A) and also<br>
sets a flag if an entry has been changed (count ++)<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3195093.html" target="_blank">http://drools.46999.n3.nabble.com/evaluating-different-aspects-of-the-same-event-tp3191232p3195093.html</a><br>

</font><div><div></div><div class="h5">Sent from the Drools: User forum 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>