On 9 February 2011 12:12, jwillans2 <james.willans(a)ceteva.com> wrote:
Hello,
My understanding was that facts evaluated using the "from" statement were
not really facts and therefore were not stored in WM, therefore in:
$event1Provider : Event1Provider()
Event1(..) from $event1Provider.evaluate()
the value of $event1Provider.evaluate() will get gc'ed (providing no other
object has a handle to it). However I read in the forum topic "Why Using
"from" Always Return A New Fact?" a post by Edson Tirelli which seemed to
indicate that fact handles are created for values returned from the "from"
statement, are these stored in WM?
No.
Do these values explicitly need to be
retracted to avoid them accumulating in WM?
No.
Or is it the case that previous
values are automatically retracted on recalls to ".evaluate" if they are
!equals?
No. "retract" is only possible after an "insert".
-W
Thanks,
James
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/from-facts-working-me...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users