[rules-users] Multiple threading

Mark Proctor mproctor at codehaus.org
Mon Feb 13 22:48:40 EST 2012


On 10/02/2012 22:46, apache wrote:
> Mark
>   the first link in my previous post says something contradictory to what you
> mentioned. I understand that one thread at a time can use the session just
> not 2 or more threads at the same time . Is that what you meant too ?
I think you are referring to the javadoc of one particular method, let 
me know if there are others.


      getStatefulKnowledgeSessions

Collection  <http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collection.html?is-external=true><StatefulKnowledgeSession  <http://docs.jboss.org/jbpm/v5.2/javadocs/org/drools/runtime/StatefulKnowledgeSession.html>>  *getStatefulKnowledgeSessions*()

Return a collection of the StatefulKnowledgeSessions that exist in this 
KnowledgeBase. Be careful as sessions are not thread-safe and could be 
in use elsewhere.

That is incorrect and we'll get it corrected for next release.

Mark
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/rules-users-Multiple-threading-tp3731592p3733915.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120214/b13e90bd/attachment.html 


More information about the rules-users mailing list