[rules-users] How to prevent activation list creation on retracts

Greg Barton greg_barton at yahoo.com
Wed Sep 16 14:06:47 EDT 2009


Dispose of your session and create another.

--- On Wed, 9/16/09, Scott Burrows <scottjburrows at gmail.com> wrote:

> From: Scott Burrows <scottjburrows at gmail.com>
> Subject: [rules-users] How to prevent activation list creation on retracts
> To: "Rules Users List" <rules-users at lists.jboss.org>
> Date: Wednesday, September 16, 2009, 12:50 PM
> I think this question was asked recently
> but I cant seem to find it.
> 
> Using 4.0.7
> 
> I have a large number of facts I need to retract from
> working memory after all rules have been processed
> (transaction is completed) so I can insert new facts for the
> next transaction.  Milliseconds count.
> 
> 
> I know that drools recalc's which rules are eligible to
> be run after each retraction.  Since all facts are being
> removed its unneeded processing and time that could be
> saved.
> 
> How can I tell drools that until I tell it otherwise do not
> re-evaluate the rules to save time?
> 
> 
> Scott
> 
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> _______________________________________________
> 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