[
https://issues.jboss.org/browse/JBRULES-3531?page=com.atlassian.jira.plug...
]
Geoffrey De Smet commented on JBRULES-3531:
-------------------------------------------
the SolverFactory could have a prepare() method and the solverConfig could keep a xstream
ommitted boolean prepared.
the buildSolver() method then needs to do
{code}
synchronized(this) {
if (!prepared) { prepare(); }
}
{code}
and prepare() needs to be synchronized too.
TODO: prove the whole thread-safety when used across several threads.
Planner's SolverFactory should not recompile the DRL files
everytime it builds a Solver
---------------------------------------------------------------------------------------
Key: JBRULES-3531
URL:
https://issues.jboss.org/browse/JBRULES-3531
Project: Drools
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: drools-planner
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira