GranularitySamplingConfiguration
A SamplingConfiguration which allows specifying a desired level of granularity, corresponding to expected degrees of power consumption.
- Inheritance
-
- Object
- Serializable
- SamplingConfiguration
- GranularitySamplingConfiguration
- Annotations
Constructors
GranularitySamplingConfiguration.fromJson
GranularitySamplingConfiguration
- Granularity granularity
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
granularity
getter/setter pair
The desired level of detail.
Methods
toJson
Return a JSON encoding of this object.