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 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 intcompareTo(V1Annotation that)Deprecated.Compares bytimestamp(), thenvalue().static V1Annotationcreate(long timestamp, String value, Endpoint endpoint)Deprecated.Endpointendpoint()Deprecated.The host that reported this annotation or null if unknown.booleanequals(Object o)Deprecated.inthashCode()Deprecated.longtimestamp()Deprecated.Stringvalue()Deprecated.SetsAnnotation.value()
-
-
-
Method Detail
-
create
public static V1Annotation create(long timestamp, String value, @Nullable Endpoint endpoint)
Deprecated.
-
timestamp
public long timestamp()
Deprecated.
-
value
public String value()
Deprecated.SetsAnnotation.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().
-
compareTo
public int compareTo(V1Annotation that)
Deprecated.Compares bytimestamp(), thenvalue().- Specified by:
compareToin interfaceComparable<V1Annotation>
-
-