@Immutable public abstract static class AggregationData.DistributionData.Exemplar extends Object
Modifier and Type | Method and Description |
---|---|
static AggregationData.DistributionData.Exemplar |
create(double value,
Timestamp timestamp,
Map<String,String> attachments)
Creates an
AggregationData.DistributionData.Exemplar . |
abstract Map<String,String> |
getAttachments()
Returns the contextual information about the example value, represented as a string map.
|
abstract Timestamp |
getTimestamp()
Returns the time that this
AggregationData.DistributionData.Exemplar 's value was recorded. |
abstract double |
getValue()
Returns value of the
AggregationData.DistributionData.Exemplar point. |
public abstract double getValue()
AggregationData.DistributionData.Exemplar
point.Exemplar
point.public abstract Timestamp getTimestamp()
AggregationData.DistributionData.Exemplar
's value was recorded.Exemplar
's value was recorded.public abstract Map<String,String> getAttachments()
public static AggregationData.DistributionData.Exemplar create(double value, Timestamp timestamp, Map<String,String> attachments)
AggregationData.DistributionData.Exemplar
.value
- value of the AggregationData.DistributionData.Exemplar
point.timestamp
- the time that this Exemplar
's value was recorded.attachments
- the contextual information about the example value.Exemplar
.