[rules-users] Does a StatefulKnowledgeSession still change when it is being serialized?

chrisLi shengtao0077 at 163.com
Mon Jun 25 07:01:38 EDT 2012


Hi All,

     The business requirement needs me to serialize a statefule session into
a file. However, the session 

object may be huge, which may take 500M memory space. So it will take
several seconds to serialize it.

     During the serialization process, the session may still in use, such as
asserting an object, executing 

fireAllRules command, which will cause the session to change.  

     Is there any way to pause or halt the session? Otherwise, Is there any
good practice to serialize a big

session object which may still be in change?

   Thank you very much. Any response will be appreciated.

--
View this message in context: http://drools.46999.n3.nabble.com/Does-a-StatefulKnowledgeSession-still-change-when-it-is-being-serialized-tp4018225.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list