public class PlannerBenchmarkConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AVAILABLE_PROCESSOR_COUNT |
static String |
PARALLEL_BENCHMARK_COUNT_AUTO |
static Pattern |
VALID_NAME_PATTERN |
Constructor and Description |
---|
PlannerBenchmarkConfig() |
public static final String PARALLEL_BENCHMARK_COUNT_AUTO
public static final String AVAILABLE_PROCESSOR_COUNT
public static final Pattern VALID_NAME_PATTERN
public String getName()
public void setName(String name)
public File getBenchmarkDirectory()
public void setBenchmarkDirectory(File benchmarkDirectory)
public String getParallelBenchmarkCount()
If there aren't enough processors available, it will be decreased.
public void setParallelBenchmarkCount(String parallelBenchmarkCount)
public Long getWarmUpMillisecondsSpentLimit()
public void setWarmUpMillisecondsSpentLimit(Long warmUpMillisecondsSpentLimit)
public Long getWarmUpSecondsSpentLimit()
public void setWarmUpSecondsSpentLimit(Long warmUpSecondsSpentLimit)
public Long getWarmUpMinutesSpentLimit()
public void setWarmUpMinutesSpentLimit(Long warmUpMinutesSpentLimit)
public Long getWarmUpHoursSpentLimit()
public void setWarmUpHoursSpentLimit(Long warmUpHoursSpentLimit)
public BenchmarkReportConfig getBenchmarkReportConfig()
public void setBenchmarkReportConfig(BenchmarkReportConfig benchmarkReportConfig)
public SolverBenchmarkConfig getInheritedSolverBenchmarkConfig()
public void setInheritedSolverBenchmarkConfig(SolverBenchmarkConfig inheritedSolverBenchmarkConfig)
public List<SolverBenchmarkBluePrintConfig> getSolverBenchmarkBluePrintConfigList()
public void setSolverBenchmarkBluePrintConfigList(List<SolverBenchmarkBluePrintConfig> solverBenchmarkBluePrintConfigList)
public List<SolverBenchmarkConfig> getSolverBenchmarkConfigList()
public void setSolverBenchmarkConfigList(List<SolverBenchmarkConfig> solverBenchmarkConfigList)
public PlannerBenchmark buildPlannerBenchmark()
public PlannerBenchmark buildPlannerBenchmark(SolverConfigContext solverConfigContext)
protected void validate()
protected void generateSolverBenchmarkConfigNames()
protected List<SolverBenchmarkConfig> buildEffectiveSolverBenchmarkConfigList()
protected int resolveParallelBenchmarkCount()
protected long calculateWarmUpTimeMillisSpentLimit()
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.