Object/Trait

com.twitter.finagle.thrift.thriftscala

Span

Related Docs: trait Span | package thriftscala

Permalink

object Span extends ValidatingThriftStructCodec3[Span] with StructBuilderFactory[Span] with Serializable

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.

Linear Supertypes
Serializable, Serializable, StructBuilderFactory[Span], ValidatingThriftStructCodec3[Span], ThriftStructCodec3[Span], ThriftStructCodec[Span], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. Serializable
  3. Serializable
  4. StructBuilderFactory
  5. ValidatingThriftStructCodec3
  6. ThriftStructCodec3
  7. ThriftStructCodec
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Immutable extends Span

    Permalink

    The default read-only implementation of Span.

    The default read-only implementation of Span. You typically should not need to directly reference this class; instead, use the Span.apply method to construct new instances.

  2. trait Proxy extends Span

    Permalink

    This Proxy trait allows you to extend the Span trait with additional state or behavior and implement the read-only methods from Span using an underlying instance.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val AnnotationsField: TField

    Permalink
  5. val AnnotationsFieldManifest: Manifest[Seq[Annotation]]

    Permalink
  6. val BinaryAnnotationsField: TField

    Permalink
  7. val BinaryAnnotationsFieldManifest: Manifest[Seq[BinaryAnnotation]]

    Permalink
  8. val DebugField: TField

    Permalink
  9. val DebugFieldManifest: Manifest[Boolean]

    Permalink
  10. val DurationField: TField

    Permalink
  11. val DurationFieldManifest: Manifest[Long]

    Permalink
  12. val IdField: TField

    Permalink
  13. val IdFieldManifest: Manifest[Long]

    Permalink
  14. object Immutable extends ThriftStructCodec3[Span] with Serializable

    Permalink
  15. val NameField: TField

    Permalink
  16. val NameFieldManifest: Manifest[String]

    Permalink
  17. val NoPassthroughFields: Map[Short, TFieldBlob]

    Permalink
  18. val ParentIdField: TField

    Permalink
  19. val ParentIdFieldManifest: Manifest[Long]

    Permalink
  20. val Struct: TStruct

    Permalink
  21. val TimestampField: TField

    Permalink
  22. val TimestampFieldManifest: Manifest[Long]

    Permalink
  23. val TraceIdField: TField

    Permalink
  24. val TraceIdFieldManifest: Manifest[Long]

    Permalink
  25. val TraceIdHighField: TField

    Permalink
  26. val TraceIdHighFieldManifest: Manifest[Long]

    Permalink
  27. def apply(traceId: Long, name: String, id: Long, parentId: Option[Long] = _root_.scala.None, annotations: Seq[Annotation] = ..., binaryAnnotations: Seq[BinaryAnnotation] = ..., debug: Boolean, timestamp: Option[Long] = _root_.scala.None, duration: Option[Long] = _root_.scala.None, traceIdHigh: Option[Long] = _root_.scala.None): Span

    Permalink
  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def decode(_iprot: TProtocol): Span

    Permalink
    Definition Classes
    Span → ThriftStructCodec
  31. def encode(_item: Span, _oproto: TProtocol): Unit

    Permalink
    Definition Classes
    Span → ThriftStructCodec
  32. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  34. lazy val fieldInfos: List[ThriftStructFieldInfo]

    Permalink

    Field information in declaration order.

  35. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  36. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  37. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. lazy val metaData: ThriftStructMetaData[Span]

    Permalink
    Definition Classes
    Span → ThriftStructCodec
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. def newBuilder(): StructBuilder[Span]

    Permalink
    Definition Classes
    Span → StructBuilderFactory
  42. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  44. val structAnnotations: Map[String, String]

    Permalink
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def ttypeToString(byte: Byte): String

    Permalink
    Attributes
    protected
    Definition Classes
    ThriftStructCodec3
  48. def unapply(_item: Span): Option[(Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean, Option[Long], Option[Long], Option[Long])]

    Permalink
  49. def validate(_item: Span): Unit

    Permalink

    Checks that all required fields are non-null.

  50. final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]

    Permalink
    Attributes
    protected
    Definition Classes
    ValidatingThriftStructCodec3
  51. def validateNewInstance(item: Span): Seq[Issue]

    Permalink

    Checks that the struct is a valid as a new instance.

    Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.

    Definition Classes
    Span → ValidatingThriftStructCodec3
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def withoutPassthroughFields(original: Span): Span

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from StructBuilderFactory[Span]

Inherited from ValidatingThriftStructCodec3[Span]

Inherited from ThriftStructCodec3[Span]

Inherited from ThriftStructCodec[Span]

Inherited from AnyRef

Inherited from Any

Ungrouped