Package com.google.caliper.bridge
Class TrialRequest
- java.lang.Object
-
- com.google.caliper.bridge.TrialRequest
-
- All Implemented Interfaces:
WorkerRequest,Serializable
public final class TrialRequest extends Object implements WorkerRequest
WorkerRequestfor telling the worker to run a trial of the benchmark.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TrialRequest(ExperimentSpec experiment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExperimentSpecexperiment()Returns the experiment to run.Class<? extends WorkerRequest>type()Returns the type of the request.
-
-
-
Constructor Detail
-
TrialRequest
public TrialRequest(ExperimentSpec experiment)
-
-
Method Detail
-
type
public final Class<? extends WorkerRequest> type()
Description copied from interface:WorkerRequestReturns the type of the request.- Specified by:
typein interfaceWorkerRequest
-
experiment
public ExperimentSpec experiment()
Returns the experiment to run.
-
-