Package zipkin2.v1
Class V1Annotation
java.lang.Object
zipkin2.v1.V1Annotation
- All Implemented Interfaces:
Comparable<V1Annotation>
@Deprecated public final class V1Annotation extends Object implements Comparable<V1Annotation>
Deprecated.
new code should use
Annotation
.Like
Annotation
, except in v1 format the Span.localEndpoint()
was
repeated for each annotation.-
Method Summary
Modifier and Type Method Description int
compareTo(V1Annotation that)
Deprecated.Compares bytimestamp()
, thenvalue()
.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.SetsAnnotation.value()
-
Method Details
-
create
Deprecated. -
timestamp
public long timestamp()Deprecated. -
value
Deprecated.SetsAnnotation.value()
-
endpoint
Deprecated.The host that reported this annotation or null if unknown.In v2 format, this is analogous to
Span.localEndpoint()
. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
compareTo
Deprecated.Compares bytimestamp()
, thenvalue()
.- Specified by:
compareTo
in interfaceComparable<V1Annotation>
-