@UriParams public class OptaPlannerConfiguration extends Object
Constructor and Description |
---|
OptaPlannerConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getConfigFile() |
Long |
getProblemId() |
String |
getSolverId() |
int |
getThreadPoolSize() |
boolean |
isAsync() |
boolean |
isUseSolverManager() |
void |
setAsync(boolean async)
Specifies to perform operations in async mode
|
void |
setConfigFile(String configFile)
Specifies the location to the solver file.
|
void |
setProblemId(Long problemId)
In case of using SolverManager : the problem id
|
void |
setSolverId(String solverId)
Specifies the solverId to user for the solver instance key
|
void |
setThreadPoolSize(int threadPoolSize)
Specifies the thread pool size to use when async is true
|
void |
setUseSolverManager(boolean useSolverManager)
use SolverManager instead of XML file config.
|
public String getConfigFile()
public void setConfigFile(String configFile)
public String getSolverId()
public void setSolverId(String solverId)
public int getThreadPoolSize()
public void setThreadPoolSize(int threadPoolSize)
public boolean isAsync()
public void setAsync(boolean async)
public Long getProblemId()
public void setProblemId(Long problemId)
problemId
- public boolean isUseSolverManager()
public void setUseSolverManager(boolean useSolverManager)
useSolverManager
- Apache Camel