Package org.openjdk.jmh.runner
Class BenchmarkHandler.BenchmarkTask
- java.lang.Object
-
- org.openjdk.jmh.runner.BenchmarkHandler.BenchmarkTask
-
- All Implemented Interfaces:
java.util.concurrent.Callable<BenchmarkTaskResult>
- Enclosing class:
- BenchmarkHandler
class BenchmarkHandler.BenchmarkTask extends java.lang.Object implements java.util.concurrent.Callable<BenchmarkTaskResult>
Worker body.
-
-
Field Summary
Fields Modifier and Type Field Description private InfraControl
control
private java.lang.Thread
runner
-
Constructor Summary
Constructors Constructor Description BenchmarkTask(InfraControl control)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BenchmarkTaskResult
call()
-
-
-
Field Detail
-
runner
private volatile java.lang.Thread runner
-
control
private final InfraControl control
-
-
Constructor Detail
-
BenchmarkTask
BenchmarkTask(InfraControl control)
-
-
Method Detail
-
call
public BenchmarkTaskResult call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<BenchmarkTaskResult>
- Throws:
java.lang.Exception
-
-