Package com.google.caliper.bridge
Class TargetInfoRequest
- java.lang.Object
-
- com.google.caliper.bridge.TargetInfoRequest
-
- All Implemented Interfaces:
WorkerRequest,Serializable
public abstract class TargetInfoRequest extends Object implements WorkerRequest
WorkerRequestfor telling a worker to send the runner information on the target it's running on, including a model of the benchmark class it produced.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TargetInfoRequest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static TargetInfoRequestcreate(com.google.common.collect.Multimap<String,String> userParameters)Class<? extends WorkerRequest>type()Returns the type of the request.abstract com.google.common.collect.ImmutableSetMultimap<String,String>userParameters()Returns the parameters and their values that user provided for the benchmark, to be validated.
-
-
-
Method Detail
-
create
public static TargetInfoRequest create(com.google.common.collect.Multimap<String,String> userParameters)
-
type
public final Class<? extends WorkerRequest> type()
Description copied from interface:WorkerRequestReturns the type of the request.- Specified by:
typein interfaceWorkerRequest
-
-