Package zipkin2.v1

Class V1BinaryAnnotation

    • Field Detail

      • TYPE_BOOLEAN

        public static final int TYPE_BOOLEAN
        Deprecated.
        The defined in zipkin's thrift definition
        See Also:
        Constant Field Values
      • TYPE_STRING

        public static final int TYPE_STRING
        Deprecated.
        The type defined in zipkin's thrift definition
        See Also:
        Constant Field Values
    • Method Detail

      • createString

        public static V1BinaryAnnotation createString​(java.lang.String key,
                                                      java.lang.String value,
                                                      Endpoint endpoint)
        Deprecated.
        Creates a tag annotation, which is the same as Span.tags() except duplicating the endpoint.

        A special case is when the key is "lc" and value is empty: This substitutes for the Span.localEndpoint().

      • key

        public java.lang.String key()
        Deprecated.
        The same as the key of a Span.tags() v2 span tag}
      • type

        public int type()
        Deprecated.
        The thrift type for the value defined in Zipkin's thrift definition. Note this is not the TBinaryProtocol field type!
      • stringValue

        @Nullable
        public java.lang.String stringValue()
        Deprecated.
        The same as the value of a Span.tags() v2 span tag} or null if this is an address
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object