java.io.Serializablebrave.Span@Deprecated
@Generated("thrift")
public class Span
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
Span() |
Deprecated.
internally we call
Span(SpanId) because it sets the identity |
| Modifier and Type | Method | Description |
|---|---|---|
Span |
addToAnnotations(Annotation elem) |
Deprecated.
|
Span |
addToBinary_annotations(BinaryAnnotation elem) |
Deprecated.
|
boolean |
equals(java.lang.Object o) |
Deprecated.
|
java.util.List<Annotation> |
getAnnotations() |
Deprecated.
|
java.util.List<BinaryAnnotation> |
getBinary_annotations() |
Deprecated.
|
java.lang.Long |
getDuration() |
Deprecated.
Measurement of duration in microseconds, used to support queries.
|
long |
getId() |
Deprecated.
|
java.lang.String |
getName() |
Deprecated.
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
|
java.lang.Long |
getParent_id() |
Deprecated.
|
java.lang.Long |
getTimestamp() |
Deprecated.
Microseconds from epoch of the creation of this span.
|
long |
getTrace_id() |
Deprecated.
|
long |
getTrace_id_high() |
Deprecated.
When non-zero, the trace containing this span uses 128-bit trace identifiers.
|
int |
hashCode() |
Deprecated.
|
java.lang.Boolean |
isDebug() |
Deprecated.
|
boolean |
isShared() |
Deprecated.
|
Span |
setAnnotations(java.util.List<Annotation> annotations) |
Deprecated.
|
Span |
setBinaryAnnotations(java.util.List<BinaryAnnotation> binary_annotations) |
Deprecated.
|
Span |
setDebug(java.lang.Boolean debug) |
Deprecated.
do not modify the context of a span once created
|
Span |
setDuration(java.lang.Long duration) |
Deprecated.
Measurement of duration in microseconds, used to support queries.
|
Span |
setId(long id) |
Deprecated.
do not modify the context of a span once created
|
Span |
setName(java.lang.String name) |
Deprecated.
Span name in lowercase, rpc method for example
Conventionally, when the span name isn't known, name = "unknown".
|
Span |
setParent_id(java.lang.Long parent_id) |
Deprecated.
do not modify the context of a span once created
|
Span |
setShared() |
Deprecated.
|
Span |
setTimestamp(java.lang.Long timestamp) |
Deprecated.
Microseconds from epoch of the creation of this span.
|
Span |
setTrace_id(long trace_id) |
Deprecated.
do not modify the context of a span once created
|
Span |
setTrace_id_high(long trace_id_high) |
Deprecated.
do not modify the context of a span once created
|
java.lang.String |
toString() |
Deprecated.
|
@Deprecated public Span()
Span(SpanId) because it sets the identitypublic long getTrace_id()
@Deprecated public Span setTrace_id(long trace_id)
public long getTrace_id_high()
Span.traceIdHigh@Deprecated public Span setTrace_id_high(long trace_id_high)
public java.lang.String getName()
public Span setName(java.lang.String name)
public long getId()
@Deprecated public Span setId(long id)
public java.lang.Long getParent_id()
@Deprecated public Span setParent_id(java.lang.Long parent_id)
public Span addToAnnotations(Annotation elem)
public java.util.List<Annotation> getAnnotations()
public Span setAnnotations(java.util.List<Annotation> annotations)
public Span addToBinary_annotations(BinaryAnnotation elem)
public java.util.List<BinaryAnnotation> getBinary_annotations()
public Span setBinaryAnnotations(java.util.List<BinaryAnnotation> binary_annotations)
public java.lang.Boolean isDebug()
@Deprecated public Span setDebug(java.lang.Boolean debug)
public java.lang.Long getTimestamp()
public Span setTimestamp(java.lang.Long timestamp)
public java.lang.Long getDuration()
public Span setDuration(java.lang.Long duration)
public boolean isShared()
public Span setShared()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 OpenZipkin. All rights reserved.