[rules-users] Knowledge base in cache
Wolfgang Laun
wolfgang.laun at gmail.com
Tue Jan 17 01:51:57 EST 2012
On 17/01/2012, apache <apache.zoom at yahoo.com> wrote:
> Hi,
> Usually when fireallrules() is called then then the drools engine matches
> current facts in the jvm memory ( knowledge base )
Facts are supposed to have been inserted in what's correctly called
Working Memory, a fundamental object of Drools (but not the Knowlege Base).
> with the rules in the
> rule engine. Is there a way where we can put the facts in a cache like
> mamecache
mamecache? memcache?
> or something where when fireallrules() is called the jvm matches
The JVM executes your Java program; if it isn't in your program, it
won't happen.
> all the facts in the cache also rather than just in the jvm memory.
Certainly not "magically" or with a simple option. It might be possible to
design proxy facts, inserted in Working Memory, and rules that make sure
that the actual object is retrieved from the cache.
-W
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Knowledge-base-in-cache-tp3664908p3664908.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> 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