Package zipkin2.v1
Class V1Annotation
- java.lang.Object
-
- zipkin2.v1.V1Annotation
-
- All Implemented Interfaces:
java.lang.Comparable<V1Annotation>
@Deprecated public final class V1Annotation extends java.lang.Object implements java.lang.Comparable<V1Annotation>
Deprecated.new code should useAnnotation
.LikeAnnotation
, except in v1 format theSpan.localEndpoint()
was repeated for each annotation.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
compareTo(V1Annotation that)
Deprecated.Compares bytimestamp()
, thenvalue()
.static V1Annotation
create(long timestamp, java.lang.String value, Endpoint endpoint)
Deprecated.Endpoint
endpoint()
Deprecated.The host that reported this annotation or null if unknown.boolean
equals(java.lang.Object o)
Deprecated.int
hashCode()
Deprecated.long
timestamp()
Deprecated.java.lang.String
value()
Deprecated.
-
-
-
Method Detail
-
create
public static V1Annotation create(long timestamp, java.lang.String value, @Nullable Endpoint endpoint)
Deprecated.
-
timestamp
public long timestamp()
Deprecated.- See Also:
Annotation.timestamp()
-
value
public java.lang.String value()
Deprecated.- See Also:
Annotation.value()
-
endpoint
@Nullable public Endpoint endpoint()
Deprecated.The host that reported this annotation or null if unknown.In v2 format, this is analogous to
Span.localEndpoint()
.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(V1Annotation that)
Deprecated.Compares bytimestamp()
, thenvalue()
.- Specified by:
compareTo
in interfacejava.lang.Comparable<V1Annotation>
-
-