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