class Span extends TBase[Span, _Fields] with Serializable with Cloneable with Comparable[Span]
A trace is a series of spans (often RPC calls) which form a latency tree.
The root span is where trace_id = id and parent_id = Nil. The root span is usually the longest interval in the trace, starting with a SERVER_RECV annotation and ending with a SERVER_SEND.
- Annotations
- @SuppressWarnings() @Generated()
- Alphabetic
- By Inheritance
- Span
- Cloneable
- TBase
- Serializable
- TSerializable
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Span(other: Span)
Performs a deep copy on other.
- new Span(trace_id: Long, name: String, id: Long, annotations: List[Annotation], binary_annotations: List[BinaryAnnotation], debug: Boolean)
- new Span()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addToAnnotations(elem: Annotation): Unit
- def addToBinary_annotations(elem: BinaryAnnotation): Unit
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
- Definition Classes
- Span → TBase
- Annotations
- @Override()
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compareTo(other: Span): Int
- Definition Classes
- Span → Comparable
- Annotations
- @Override()
-
def
deepCopy(): Span
- Definition Classes
- Span → TBase
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Span): Boolean
-
def
equals(that: Any): Boolean
- Definition Classes
- Span → AnyRef → Any
- Annotations
- @Override()
-
def
fieldForId(fieldId: Int): _Fields
- Definition Classes
- Span → TBase
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAnnotations(): List[Annotation]
- def getAnnotationsIterator(): Iterator[Annotation]
- def getAnnotationsSize(): Int
- def getBinary_annotations(): List[BinaryAnnotation]
- def getBinary_annotationsIterator(): Iterator[BinaryAnnotation]
- def getBinary_annotationsSize(): Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldValue(field: _Fields): AnyRef
- Definition Classes
- Span → TBase
- def getId(): Long
- def getName(): String
- def getParent_id(): Long
- def getTimestamp(): Long
- def getTrace_id(): Long
-
def
hashCode(): Int
- Definition Classes
- Span → AnyRef → Any
- Annotations
- @Override()
- def isDebug(): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSet(field: _Fields): Boolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- Definition Classes
- Span → TBase
-
def
isSetAnnotations(): Boolean
Returns true if field annotations is set (has been assigned a value) and false otherwise
-
def
isSetBinary_annotations(): Boolean
Returns true if field binary_annotations is set (has been assigned a value) and false otherwise
-
def
isSetDebug(): Boolean
Returns true if field debug is set (has been assigned a value) and false otherwise
-
def
isSetId(): Boolean
Returns true if field id is set (has been assigned a value) and false otherwise
-
def
isSetName(): Boolean
Returns true if field name is set (has been assigned a value) and false otherwise
-
def
isSetParent_id(): Boolean
Returns true if field parent_id is set (has been assigned a value) and false otherwise
-
def
isSetTimestamp(): Boolean
Returns true if field timestamp is set (has been assigned a value) and false otherwise
-
def
isSetTrace_id(): Boolean
Returns true if field trace_id is set (has been assigned a value) and false otherwise
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
read(iprot: TProtocol): Unit
- Definition Classes
- Span → TSerializable
- def setAnnotations(annotations: List[Annotation]): Span
- def setAnnotationsIsSet(value: Boolean): Unit
- def setBinary_annotations(binary_annotations: List[BinaryAnnotation]): Span
- def setBinary_annotationsIsSet(value: Boolean): Unit
- def setDebug(debug: Boolean): Span
- def setDebugIsSet(value: Boolean): Unit
-
def
setFieldValue(field: _Fields, value: Any): Unit
- Definition Classes
- Span → TBase
- def setId(id: Long): Span
- def setIdIsSet(value: Boolean): Unit
- def setName(name: String): Span
- def setNameIsSet(value: Boolean): Unit
- def setParent_id(parent_id: Long): Span
- def setParent_idIsSet(value: Boolean): Unit
- def setTimestamp(timestamp: Long): Span
- def setTimestampIsSet(value: Boolean): Unit
- def setTrace_id(trace_id: Long): Span
- def setTrace_idIsSet(value: Boolean): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Span → AnyRef → Any
- Annotations
- @Override()
- def unsetAnnotations(): Unit
- def unsetBinary_annotations(): Unit
- def unsetDebug(): Unit
- def unsetId(): Unit
- def unsetName(): Unit
- def unsetParent_id(): Unit
- def unsetTimestamp(): Unit
- def unsetTrace_id(): Unit
- def validate(): Unit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write(oprot: TProtocol): Unit
- Definition Classes
- Span → TSerializable