Package com.google.caliper.bridge
Class TargetInfoLogMessage
- java.lang.Object
-
- com.google.caliper.bridge.LogMessage
-
- com.google.caliper.bridge.TargetInfoLogMessage
-
- All Implemented Interfaces:
Serializable
public abstract class TargetInfoLogMessage extends LogMessage implements Serializable
A log message containing the response to aTargetInfoRequest.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TargetInfoLogMessage()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccept(LogMessageVisitor visitor)static TargetInfoLogMessagecreate(BenchmarkClassModel model, Map<String,String> deviceProperties)Creates a new log message containing the given benchmark model and device properties.abstract com.google.common.collect.ImmutableMap<String,String>deviceProperties()Returns the properties of the target device that will be used to populate theHostassociated with this target.abstract BenchmarkClassModelmodel()Returns the benchmark class model.
-
-
-
Method Detail
-
create
public static TargetInfoLogMessage create(BenchmarkClassModel model, Map<String,String> deviceProperties)
Creates a new log message containing the given benchmark model and device properties.
-
model
public abstract BenchmarkClassModel model()
Returns the benchmark class model.
-
deviceProperties
public abstract com.google.common.collect.ImmutableMap<String,String> deviceProperties()
Returns the properties of the target device that will be used to populate theHostassociated with this target. The data included here will be available in the webapp for viewing and comparison (when viewing data taken from multiple devices, such as when comparing multiple runs).
-
accept
public void accept(LogMessageVisitor visitor)
- Specified by:
acceptin classLogMessage
-
-