Class SolverHandler
- java.lang.Object
-
- org.kie.server.services.taskassigning.planning.SolverHandler
-
public class SolverHandler extends Object
This class handles all the work regarding with determining when the solver needs to be created, the handling of the produced solutions and the synchronization of the working solution with the changes that might be produced in the jBPM runtime, etc., by coordinating the actions/results produced by the SolverExecutor, the SolutionProcessor and the SolutionSynchronizer.
-
-
Constructor Summary
Constructors Constructor Description SolverHandler(SolverDef solverDef, org.kie.server.services.api.KieServerRegistry registry, TaskAssigningRuntimeDelegate delegate, org.kie.server.services.taskassigning.user.system.api.UserSystemService userSystemService, ScheduledExecutorService executorService, SolverHandlerConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected booleanhasImproveSolutionOnBackgroundDuration()protected booleanhasWaitForImprovedSolutionDuration()voidstart()
-
-
-
Constructor Detail
-
SolverHandler
public SolverHandler(SolverDef solverDef, org.kie.server.services.api.KieServerRegistry registry, TaskAssigningRuntimeDelegate delegate, org.kie.server.services.taskassigning.user.system.api.UserSystemService userSystemService, ScheduledExecutorService executorService, SolverHandlerConfig config)
-
-