Annotation.@Deprecated public final class V1Annotation extends Object implements Comparable<V1Annotation>
Annotation, except in v1 format the Span.localEndpoint() was
repeated for each annotation.| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(V1Annotation that)
Deprecated.
Compares by
timestamp(), then value(). |
static V1Annotation |
create(long timestamp,
String value,
Endpoint endpoint)
Deprecated.
|
Endpoint |
endpoint()
Deprecated.
The host that reported this annotation or null if unknown.
|
boolean |
equals(Object o)
Deprecated.
|
int |
hashCode()
Deprecated.
|
long |
timestamp()
Deprecated.
|
String |
value()
Deprecated.
|
public static V1Annotation create(long timestamp, String value, @Nullable Endpoint endpoint)
public long timestamp()
Annotation.timestamp()public String value()
Annotation.value()@Nullable public Endpoint endpoint()
In v2 format, this is analogous to Span.localEndpoint().
public int compareTo(V1Annotation that)
timestamp(), then value().compareTo in interface Comparable<V1Annotation>Copyright © 2015–2019 OpenZipkin. All rights reserved.