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 intcompareTo(V1Annotation that)Deprecated.Compares bytimestamp(), thenvalue().static V1Annotationcreate(long timestamp, java.lang.String value, Endpoint endpoint)Deprecated.Endpointendpoint()Deprecated.The host that reported this annotation or null if unknown.booleanequals(java.lang.Object o)Deprecated.inthashCode()Deprecated.longtimestamp()Deprecated.java.lang.Stringvalue()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(V1Annotation that)
Deprecated.Compares bytimestamp(), thenvalue().- Specified by:
compareToin interfacejava.lang.Comparable<V1Annotation>
-
-