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 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.
-
Method Details
-
create
Deprecated. -
timestamp
public long timestamp()Deprecated.- See Also:
Annotation.timestamp()
-
value
Deprecated.- See Also:
Annotation.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:
compareToin interfaceComparable<V1Annotation>
-