This page last changed on Nov 09, 2013 by aktur.

In the code for RuleEngine.java there is the override push method which is not synchronized while the same method in EmonDataLogger is synchronized. Why this difference?

Secondly, it the start method of RuleEngine there is a note:

    // Note, knowledgebuilder is not thread-safe...

Should't start be synchronized too?

I'm asking this because I'm still chasing strange errors in drools engine for which the only remedy is restarting of controller, which is obviously not the real solution.

Document generated by Confluence on Jun 05, 2016 09:32