Package org.optaplanner.benchmark.impl
Class SubSingleBenchmarkRunner<Solution_>
- java.lang.Object
-
- org.optaplanner.benchmark.impl.SubSingleBenchmarkRunner<Solution_>
-
- All Implemented Interfaces:
Callable<SubSingleBenchmarkRunner<Solution_>>
public class SubSingleBenchmarkRunner<Solution_> extends Object implements Callable<SubSingleBenchmarkRunner<Solution_>>
-
-
Constructor Summary
Constructors Constructor Description SubSingleBenchmarkRunner(SubSingleBenchmarkResult subSingleBenchmarkResult, boolean warmUp)
SubSingleBenchmarkRunner(SubSingleBenchmarkResult subSingleBenchmarkResult, boolean warmUp, SolverConfigContext solverConfigContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubSingleBenchmarkRunner<Solution_>
call()
Throwable
getFailureThrowable()
String
getName()
SubSingleBenchmarkResult
getSubSingleBenchmarkResult()
void
setFailureThrowable(Throwable failureThrowable)
String
toString()
-
-
-
Field Detail
-
NAME_MDC
public static final String NAME_MDC
- See Also:
- Constant Field Values
-
logger
protected final transient org.slf4j.Logger logger
-
-
Constructor Detail
-
SubSingleBenchmarkRunner
public SubSingleBenchmarkRunner(SubSingleBenchmarkResult subSingleBenchmarkResult, boolean warmUp)
- Parameters:
subSingleBenchmarkResult
- never null
-
SubSingleBenchmarkRunner
public SubSingleBenchmarkRunner(SubSingleBenchmarkResult subSingleBenchmarkResult, boolean warmUp, SolverConfigContext solverConfigContext)
- Parameters:
subSingleBenchmarkResult
- never nullsolverConfigContext
- never null
-
-
Method Detail
-
getSubSingleBenchmarkResult
public SubSingleBenchmarkResult getSubSingleBenchmarkResult()
-
getFailureThrowable
public Throwable getFailureThrowable()
-
setFailureThrowable
public void setFailureThrowable(Throwable failureThrowable)
-
call
public SubSingleBenchmarkRunner<Solution_> call()
-
getName
public String getName()
-
-