[rules-users] is threadSafe required for external func call?

techy techluver007 at gmail.com
Tue Nov 11 13:36:12 EST 2008


Hello,
>From the below example, Do I need to make function
"incrementExecutionCount()" threadSafe here or does drools make threadSafe
call to external functions? Please someone clarify. Thanks.

global SampleDao dao;
rule "1"
 when "some condition on fact"
  then
     Rule r = dao.getRule("1");
     r.incrementExecutionCount();
end
-- 
View this message in context: http://www.nabble.com/is-threadSafe-required-for-external-func-call--tp20445601p20445601.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list