[rules-users] Performance: StatefulKnowledgeSession.dispose()

Mauricio Salatino salaboy at gmail.com
Mon Oct 24 16:29:52 EDT 2011


Are you using persistence? can you give us more context about what are you
trying to achieve?
Cheers

On Mon, Oct 24, 2011 at 12:25 AM, tonytang <baiyuantang at hengtiansoft.com>wrote:

> I have write a very simple rule to test StatefulKnowledgeSession.dispose()
> method.
>
> After I call this method, I still can use this session...But the
> performance
> is almost 20 times better than no call this method.
>
> Technically after I call dispose() method, I can not use this session
> anymore.
>
> I just want to know. Why the performance is so much difference?
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Performance-StatefulKnowledgeSession-dispose-tp3447069p3447069.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
>



-- 
 - CTO @ http://www.plugtree.com
 - MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar

 - Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111024/e1d5d59f/attachment.html 


More information about the rules-users mailing list